diff options
author | sunpoet <sunpoet@FreeBSD.org> | 2014-02-24 18:40:29 +0800 |
---|---|---|
committer | sunpoet <sunpoet@FreeBSD.org> | 2014-02-24 18:40:29 +0800 |
commit | a031924dd2558fc7d731941c1e176ddae122a858 (patch) | |
tree | 9a4537224b18193f64c6f813002b8fdc0533541c | |
parent | a8d320417d981498fc9730c07e7cac835a01dd95 (diff) | |
download | freebsd-ports-gnome-a031924dd2558fc7d731941c1e176ddae122a858.tar.gz freebsd-ports-gnome-a031924dd2558fc7d731941c1e176ddae122a858.tar.zst freebsd-ports-gnome-a031924dd2558fc7d731941c1e176ddae122a858.zip |
- Simplify Makefile
- Pet portlint: rename patch files
- Support STAGEDIR
-rw-r--r-- | mail/procmail/Makefile | 16 | ||||
-rw-r--r-- | mail/procmail/files/patch-src-autoconf (renamed from mail/procmail/files/patch-src:autoconf) | 0 | ||||
-rw-r--r-- | mail/procmail/files/patch-src-mailfold.c (renamed from mail/procmail/files/patch-src:mailfold.c) | 0 |
3 files changed, 6 insertions, 10 deletions
diff --git a/mail/procmail/Makefile b/mail/procmail/Makefile index e83670b30087..519502e0bb1c 100644 --- a/mail/procmail/Makefile +++ b/mail/procmail/Makefile @@ -17,6 +17,8 @@ MASTER_SITES= ftp://ftp.ucsb.edu/pub/mirrors/procmail/ \ MAINTAINER= sunpoet@FreeBSD.org COMMENT= Local mail delivery agent +OPTIONS_DEFINE= DOCS EXAMPLES + INSTALL_TARGET= install-suid install.man PLIST_FILES= bin/formail bin/lockfile bin/mailstat bin/procmail \ @@ -27,20 +29,14 @@ PORTDOCS= FAQ FEATURES HISTORY KNOWN_BUGS README PORTEXAMPLES= 1procmailrc 1rmail 2procmailrc 2rmail 3procmailrc 3rmail \ advanced dirname forward local_procmail_lmtp.m4 mailstat -OPTIONS_DEFINE= DOCS EXAMPLES - -.include <bsd.port.options.mk> - post-patch: @${REINPLACE_CMD} -e 's|%%PREFIX%%|${PREFIX}|g' ${WRKSRC}/config.h # Allow parallel builds (-jX) to work - @${FIND} ${WRKSRC} -name 'Makefile*' | ${XARGS} ${REINPLACE_CMD} \ - -E 's|cd (.+); (\$$\(MAKE\))|\2 -C \1|' + @${FIND} ${WRKSRC} -name 'Makefile*' | ${XARGS} ${REINPLACE_CMD} -E 's|cd (.+); (\$$\(MAKE\))|\2 -C \1|' post-install: - ${MKDIR} ${STAGEDIR}${DOCSDIR} - ${INSTALL_DATA} ${PORTDOCS:S|^|${WRKSRC}/|} ${STAGEDIR}${DOCSDIR} - ${MKDIR} ${STAGEDIR}${EXAMPLESDIR} - ${INSTALL_DATA} ${PORTEXAMPLES:S|^|${WRKSRC}/examples/|} ${STAGEDIR}${EXAMPLESDIR} + ${MKDIR} ${STAGEDIR}${DOCSDIR}/ ${STAGEDIR}${EXAMPLESDIR}/ + cd ${WRKSRC}/ && ${INSTALL_DATA} ${PORTDOCS} ${STAGEDIR}${DOCSDIR}/ + cd ${WRKSRC}/examples/ && ${INSTALL_DATA} ${PORTEXAMPLES} ${STAGEDIR}${EXAMPLESDIR}/ .include <bsd.port.mk> diff --git a/mail/procmail/files/patch-src:autoconf b/mail/procmail/files/patch-src-autoconf index ef615cb599ba..ef615cb599ba 100644 --- a/mail/procmail/files/patch-src:autoconf +++ b/mail/procmail/files/patch-src-autoconf diff --git a/mail/procmail/files/patch-src:mailfold.c b/mail/procmail/files/patch-src-mailfold.c index a95d5eb24802..a95d5eb24802 100644 --- a/mail/procmail/files/patch-src:mailfold.c +++ b/mail/procmail/files/patch-src-mailfold.c |