aboutsummaryrefslogtreecommitdiff
path: root/security
diff options
context:
space:
mode:
authorPawel Pekala <pawel@FreeBSD.org>2014-07-11 08:37:07 +0000
committerPawel Pekala <pawel@FreeBSD.org>2014-07-11 08:37:07 +0000
commit4f04ba507f8ca721ea95fc7dd4fe34d8de770895 (patch)
tree2fae65c837b4f1bd5cec2f9df1d1458c83f69ae5 /security
parente6c194b4f790f17b282d3bf15b31aa95ddb84fb3 (diff)
downloadports-4f04ba507f8ca721ea95fc7dd4fe34d8de770895.tar.gz
ports-4f04ba507f8ca721ea95fc7dd4fe34d8de770895.zip
Notes
Diffstat (limited to 'security')
-rw-r--r--security/courierpassd/Makefile23
-rw-r--r--security/courierpassd/pkg-plist8
2 files changed, 8 insertions, 23 deletions
diff --git a/security/courierpassd/Makefile b/security/courierpassd/Makefile
index a68c744cf134..32d3d7caa775 100644
--- a/security/courierpassd/Makefile
+++ b/security/courierpassd/Makefile
@@ -7,7 +7,7 @@ CATEGORIES= security mail
MASTER_SITES= http://www.arda.homeunix.net/software-downloads/ \
LOCAL/ade
-MAINTAINER= ports@FreeBSD.org
+MAINTAINER= ports@FreeBSD.org
COMMENT= User authentication and password changing daemon utility
BUILD_DEPENDS= courierauthconfig:${PORTSDIR}/security/courier-authlib-base
@@ -22,13 +22,11 @@ MINUID?= 100
DELAY?= 3
CONFIGURE_ARGS+=--with-minuid=${MINUID} --with-badpassdelay=${DELAY}
-MAN8= courierpassd.8
+PLIST_FILES= sbin/courierpassd man/man8/courierpassd.8.gz
+PORTDOCS= AUTHORS ChangeLog COPYING INSTALL NEWS README
OPTIONS_DEFINE= DOCS
-NO_STAGE= yes
-.include <bsd.port.options.mk>
-
pre-everything::
@${ECHO}
@${ECHO} "###########################################################"
@@ -46,16 +44,11 @@ pre-everything::
@${ECHO} "###########################################################"
@${ECHO}
+post-patch:
+ @${REINPLACE_CMD} '/chown root/d' ${WRKSRC}/Makefile.in
+
post-install:
-.if ${PORT_OPTIONS:MDOCS}
- ${MKDIR} ${DOCSDIR}
- ${INSTALL_DATA} ${WRKSRC}/AUTHORS ${DOCSDIR}
- ${INSTALL_DATA} ${WRKSRC}/ChangeLog ${DOCSDIR}
- ${INSTALL_DATA} ${WRKSRC}/COPYING ${DOCSDIR}
- ${INSTALL_DATA} ${WRKSRC}/INSTALL ${DOCSDIR}
- ${INSTALL_DATA} ${WRKSRC}/NEWS ${DOCSDIR}
- ${INSTALL_DATA} ${WRKSRC}/README ${DOCSDIR}
-.endif
- @${CAT} ${PKGMESSAGE}
+ @${MKDIR} ${STAGEDIR}${DOCSDIR}
+ ${INSTALL_DATA} ${PORTDOCS:S|^|${WRKSRC}/|} ${STAGEDIR}${DOCSDIR}
.include <bsd.port.mk>
diff --git a/security/courierpassd/pkg-plist b/security/courierpassd/pkg-plist
deleted file mode 100644
index d3426c4763f3..000000000000
--- a/security/courierpassd/pkg-plist
+++ /dev/null
@@ -1,8 +0,0 @@
-sbin/courierpassd
-%%PORTDOCS%%%%DOCSDIR%%/AUTHORS
-%%PORTDOCS%%%%DOCSDIR%%/ChangeLog
-%%PORTDOCS%%%%DOCSDIR%%/COPYING
-%%PORTDOCS%%%%DOCSDIR%%/INSTALL
-%%PORTDOCS%%%%DOCSDIR%%/NEWS
-%%PORTDOCS%%%%DOCSDIR%%/README
-%%PORTDOCS%%@dirrm %%DOCSDIR%%