aboutsummaryrefslogtreecommitdiffstats
path: root/mail/libdomainkeys
diff options
context:
space:
mode:
authorskv <skv@FreeBSD.org>2006-07-31 21:32:39 +0800
committerskv <skv@FreeBSD.org>2006-07-31 21:32:39 +0800
commitca02c2a59380982ed2948192b3e977c9e7669b80 (patch)
treedfd08a8b48ba6c90e4bc1f0cc2994923b5d67d17 /mail/libdomainkeys
parentd36ccde87b31222031595fb83e2b1228475131f5 (diff)
downloadfreebsd-ports-gnome-ca02c2a59380982ed2948192b3e977c9e7669b80.tar.gz
freebsd-ports-gnome-ca02c2a59380982ed2948192b3e977c9e7669b80.tar.zst
freebsd-ports-gnome-ca02c2a59380982ed2948192b3e977c9e7669b80.zip
Install scripts to create and test keys
PR: ports/100536 Submitted by: garga
Diffstat (limited to 'mail/libdomainkeys')
-rw-r--r--mail/libdomainkeys/Makefile7
-rw-r--r--mail/libdomainkeys/pkg-plist3
2 files changed, 9 insertions, 1 deletions
diff --git a/mail/libdomainkeys/Makefile b/mail/libdomainkeys/Makefile
index b48b40068d1f..67c72db20843 100644
--- a/mail/libdomainkeys/Makefile
+++ b/mail/libdomainkeys/Makefile
@@ -7,7 +7,7 @@
PORTNAME= libdomainkeys
PORTVERSION= 0.68
-PORTREVISION= 1
+PORTREVISION= 2
CATEGORIES= mail
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE}
MASTER_SITE_SUBDIR= domainkeys
@@ -33,4 +33,9 @@ post-patch:
@${SED} -e "s=%%SHLIB_MAJOR%%=${SHLIB_MAJOR}=g" \
${FILESDIR}/Makefile > ${WRKSRC}/Makefile
+post-install:
+ @${MKDIR} ${DATADIR}
+ ${INSTALL_SCRIPT} ${WRKSRC}/dknewkey ${DATADIR}
+ ${INSTALL_SCRIPT} ${WRKSRC}/test ${DATADIR}/dktest
+
.include <bsd.port.mk>
diff --git a/mail/libdomainkeys/pkg-plist b/mail/libdomainkeys/pkg-plist
index f83c7b5a1fd7..55f8ba8cab6f 100644
--- a/mail/libdomainkeys/pkg-plist
+++ b/mail/libdomainkeys/pkg-plist
@@ -4,3 +4,6 @@ lib/libdomainkeys.a
lib/libdomainkeys.so
lib/libdomainkeys.so.%%SHLIB_MAJOR%%
%%PROFILE%%lib/libdomainkeys_p.a
+%%DATADIR%%/dknewkey
+%%DATADIR%%/dktest
+@dirrm %%DATADIR%%