aboutsummaryrefslogtreecommitdiffstats
path: root/security
diff options
context:
space:
mode:
authoramdmi3 <amdmi3@FreeBSD.org>2016-03-04 00:30:12 +0800
committeramdmi3 <amdmi3@FreeBSD.org>2016-03-04 00:30:12 +0800
commit818a99942e5c052822b3d0e54ff5a80d92adb4e1 (patch)
treec88e996fe6b068f45c0283a0870708e108f2f96e /security
parent2b0b99b62d48ffe852d36de456a95654a8124256 (diff)
downloadfreebsd-ports-gnome-818a99942e5c052822b3d0e54ff5a80d92adb4e1.tar.gz
freebsd-ports-gnome-818a99942e5c052822b3d0e54ff5a80d92adb4e1.tar.zst
freebsd-ports-gnome-818a99942e5c052822b3d0e54ff5a80d92adb4e1.zip
- Add LICENSE
- Don't install useless docfiles - Switch to options helpers
Diffstat (limited to 'security')
-rw-r--r--security/distcache/Makefile15
1 files changed, 10 insertions, 5 deletions
diff --git a/security/distcache/Makefile b/security/distcache/Makefile
index 85f496216fed..7f0b7021baed 100644
--- a/security/distcache/Makefile
+++ b/security/distcache/Makefile
@@ -11,6 +11,9 @@ MASTER_SITES= SF/${PORTNAME}/2.%20${PORTNAME}-stable/${PORTVERSION} \
MAINTAINER= ports@FreeBSD.org
COMMENT= Distributed OpenSSL session caching tools
+LICENSE= LGPL21
+LICENSE_FILE= ${WRKSRC}/LICENSE
+
USES= libtool tar:bzip2
USE_RC_SUBR= dc_server
USE_OPENSSL= yes
@@ -19,15 +22,17 @@ GNU_CONFIGURE= yes
CONFIGURE_ARGS= --enable-shared
INSTALL_TARGET= install-strip
-SUB_LIST+= NAME=dc_server
-PORTDOCS= ANNOUNCE BUGS CHANGES FAQ INSTALL LICENSE README
+SUB_LIST= NAME=dc_server
+PORTDOCS= ANNOUNCE BUGS CHANGES FAQ README
OPTIONS_DEFINE= DOCS
post-install:
- ${MKDIR} ${STAGEDIR}${DOCSDIR}
- (cd ${WRKSRC} && ${INSTALL_DATA} ${PORTDOCS} ${STAGEDIR}${DOCSDIR})
# INSTALL_TARGET=install-strip isn't working! Brute force it
- ${STRIP_CMD} ${STAGEDIR}${PREFIX}/lib/*.so
+ @${STRIP_CMD} ${STAGEDIR}${PREFIX}/lib/*.so
+
+post-install-DOCS-on:
+ @${MKDIR} ${STAGEDIR}${DOCSDIR}
+ (cd ${WRKSRC} && ${INSTALL_DATA} ${PORTDOCS} ${STAGEDIR}${DOCSDIR})
.include <bsd.port.mk>