1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-25 00:51:21 +00:00

- Fix manpage handling

- Fix installation from non-root

Approved by:	portmgr blanket
This commit is contained in:
Dmitry Marakasov 2015-10-05 14:06:46 +00:00
parent d33a1b4d3b
commit 4136c5b3ee
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=398649
3 changed files with 14 additions and 4 deletions

View File

@ -3,7 +3,7 @@
PORTNAME= dk-milter
PORTVERSION= 1.0.2
PORTREVISION= 1
PORTREVISION= 2
CATEGORIES= mail
MASTER_SITES= SF/${PORTNAME}/DomainKeys%20Milter/${PORTVERSION}
@ -32,7 +32,6 @@ RUN_DEPENDS+= ${LOCALBASE}/libexec/postfix/smtpd:${PORTSDIR}/mail/postfix
.endif
WCONF= ${WRKSRC}/devtools/Site
MAN8= dk-filter.8
DOCSFILES= FEATURES INSTALL KNOWNBUGS LICENSE README RELEASE_NOTES \
rfc4870.txt dk-filter/autorespond.csh
@ -107,7 +106,7 @@ post-install:
.endif
${INSTALL_SCRIPT} ${WRKSRC}/dk-filter/gentxt.csh \
${STAGEDIR}${PREFIX}/sbin/gentxt-dk
.for i in ${MAN8}
.for i in dk-filter.8
@${RM} -f ${STAGEDIR}${PREFIX}/man/cat8/${i} \
${STAGEDIR}${PREFIX}/man/cat8/${i}.gz
${INSTALL_MAN} ${WRKSRC}/*/${i} ${STAGEDIR}${PREFIX}/man/man8/

View File

@ -0,0 +1,11 @@
--- devtools/M4/UNIX/executable.m4.orig 2006-10-06 05:44:44 UTC
+++ devtools/M4/UNIX/executable.m4
@@ -31,7 +31,7 @@ ifdef(`bldLINK_SOURCES', `bldMAKE_SOURCE
ifdef(`bldNO_INSTALL', ,
`install-`'bldCURRENT_PRODUCT: bldCURRENT_PRODUCT ifdef(`bldTARGET_INST_DEP', `bldTARGET_INST_DEP')
ifdef(`confMKDIR', `if [ ! -d ${DESTDIR}${bldINSTALL_DIR`'BINDIR} ]; then confMKDIR -p ${DESTDIR}${bldINSTALL_DIR`'BINDIR}; else :; fi ')
- ${INSTALL} -c -o ${bldBIN_TYPE`'BINOWN} -g ${bldBIN_TYPE`'BINGRP} -m ${bldBIN_TYPE`'BINMODE} bldCURRENT_PRODUCT ${DESTDIR}${bldINSTALL_DIR`'BINDIR}
+ ${INSTALL} -c -m ${bldBIN_TYPE`'BINMODE} bldCURRENT_PRODUCT ${DESTDIR}${bldINSTALL_DIR`'BINDIR}
ifdef(`bldTARGET_LINKS', `bldMAKE_TARGET_LINKS(${bldINSTALL_DIR`'BINDIR}/bldCURRENT_PRODUCT, ${bldCURRENT_PRODUCT`'TARGET_LINKS})')')
strip-`'bldCURRENT_PRODUCT: bldCURRENT_PRODUCT

View File

@ -1,4 +1,5 @@
libexec/dk-filter
man/man8/dk-filter.8.gz
sbin/gentxt-dk
%%PORTDOCS%%%%DOCSDIR%%/FEATURES
%%PORTDOCS%%%%DOCSDIR%%/INSTALL
@ -8,4 +9,3 @@ sbin/gentxt-dk
%%PORTDOCS%%%%DOCSDIR%%/RELEASE_NOTES
%%PORTDOCS%%%%DOCSDIR%%/autorespond.csh
%%PORTDOCS%%%%DOCSDIR%%/rfc4870.txt
%%PORTDOCS%%@dirrm %%DOCSDIR%%