aboutsummaryrefslogtreecommitdiffstats
path: root/net
diff options
context:
space:
mode:
authormartymac <martymac@FreeBSD.org>2010-11-18 17:12:41 +0800
committermartymac <martymac@FreeBSD.org>2010-11-18 17:12:41 +0800
commitc453396f7634a837ac0d706e8304844a900eb82b (patch)
treee8d5727e8d51db268a2ab6b505b57d51f36e9279 /net
parent8325fe62ca195f1e7ee5c21412bdf7d985823c44 (diff)
downloadfreebsd-ports-gnome-c453396f7634a837ac0d706e8304844a900eb82b.tar.gz
freebsd-ports-gnome-c453396f7634a837ac0d706e8304844a900eb82b.tar.zst
freebsd-ports-gnome-c453396f7634a837ac0d706e8304844a900eb82b.zip
- Add missing LICENSE
- Remove license text from installed documents - Improve PORTDOCS handling Approved by: ehaupt (mentor)
Diffstat (limited to 'net')
-rw-r--r--net/ldapscripts/Makefile14
1 files changed, 7 insertions, 7 deletions
diff --git a/net/ldapscripts/Makefile b/net/ldapscripts/Makefile
index f4f6d4b3dee0..93b25d038ad2 100644
--- a/net/ldapscripts/Makefile
+++ b/net/ldapscripts/Makefile
@@ -7,7 +7,7 @@
PORTNAME= ldapscripts
PORTVERSION= 1.9.0
-PORTREVISION= 1
+PORTREVISION= 2
CATEGORIES= net
MASTER_SITES= SF/${PORTNAME}/${PORTNAME}/${PORTNAME}-${PORTVERSION} \
http://contribs.martymac.org/ldapscripts/
@@ -23,6 +23,8 @@ RUN_DEPENDS= ldapadd:${PORTSDIR}/net/openldap${OPENLDAP_VER}-client \
ldapmodrdn:${PORTSDIR}/net/openldap${OPENLDAP_VER}-client \
ldappasswd:${PORTSDIR}/net/openldap${OPENLDAP_VER}-client
+LICENSE= GPLv2
+
USE_OPENLDAP= yes
USE_ICONV= yes
LIBDIR=${PREFIX}/lib/${PORTNAME}
@@ -39,7 +41,7 @@ MAN1= ldapaddgroup.1 ldapaddmachine.1 ldapadduser.1 ldapaddusertogroup.1 \
ldapmodifyuser.1
MAN5= ldapscripts.5
-PORTDOCS= README CHANGELOG COPYING VERSION TODO
+PORTDOCS= README CHANGELOG VERSION TODO
# Unset 'all' target set by default to 'help'
# and set paths to OpenLDAP binaries
@@ -60,11 +62,9 @@ post-patch:
post-install:
.if !defined(NOPORTDOCS)
${MKDIR} ${DOCSDIR}
- ${INSTALL_DATA} ${WRKSRC}/README ${DOCSDIR}
- ${INSTALL_DATA} ${WRKSRC}/CHANGELOG ${DOCSDIR}
- ${INSTALL_DATA} ${WRKSRC}/COPYING ${DOCSDIR}
- ${INSTALL_DATA} ${WRKSRC}/VERSION ${DOCSDIR}
- ${INSTALL_DATA} ${WRKSRC}/TODO ${DOCSDIR}
+.for doc in ${PORTDOCS}
+ ${INSTALL_DATA} ${WRKSRC}/${doc} ${DOCSDIR}
+.endfor
.endif
@${CAT} ${PKGMESSAGE}