X-Git-Url: https://codewiz.org/gitweb?a=blobdiff_plain;f=packaging%2Ffreebsd%2FMakefile;h=78ad0d3a3a6f22e5bef4accd600eb83071562fcb;hb=5a8f2f1b6e5557ef8680bd1025239dcfd3f6550f;hp=7a24dc58e1723fa8c18d9043b7eca8d63db25cbd;hpb=03468ed21363bda286207850fc42d1db51b892d7;p=monkeysphere.git diff --git a/packaging/freebsd/Makefile b/packaging/freebsd/Makefile index 7a24dc5..78ad0d3 100644 --- a/packaging/freebsd/Makefile +++ b/packaging/freebsd/Makefile @@ -12,9 +12,6 @@ MASTER_SITES= http://archive.monkeysphere.info/debian/pool/monkeysphere/m/monke # hack for debian orig tarballs DISTFILES= ${PORTNAME}_${DISTVERSION}.orig.tar.gz -# comment this out to test the port -IGNORE= this port is not finished yet - MAINTAINER= dkg@fifthhorseman.net COMMENT= use the OpenPGP web of trust to verify ssh connections @@ -43,5 +40,11 @@ post-install: @if [ ! -f ${PREFIX}/etc/monkeysphere/monkeysphere-server.conf ]; then \ ${CP} -p ${PREFIX}/etc/monkeysphere/monkeysphere-server.conf.sample ${PREFIX}/etc/monkeysphere/monkeysphere-server.conf ; \ fi +.if !defined(PACKAGE_BUILDING) + @${SETENV} ${SH} ${PKGINSTALL} ${PKGNAME} POST-INSTALL +.endif + +post-deinstall: + @${SETENV} ${SH} ${PKGDEINSTALL} ${PKGNAME} POST-DEINSTALL .include