projects
/
monkeysphere.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
tracking freebsd packaging from anarcat.
[monkeysphere.git]
/
packaging
/
freebsd
/
Makefile
diff --git
a/packaging/freebsd/Makefile
b/packaging/freebsd/Makefile
index 7a24dc58e1723fa8c18d9043b7eca8d63db25cbd..78ad0d3a3a6f22e5bef4accd600eb83071562fcb 100644
(file)
--- 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
# 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
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 [ ! -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 <bsd.port.mk>
.include <bsd.port.mk>