diff options
author | bapt <bapt@FreeBSD.org> | 2014-01-09 22:49:45 +0800 |
---|---|---|
committer | bapt <bapt@FreeBSD.org> | 2014-01-09 22:49:45 +0800 |
commit | d9dd9f50997fe2d89407ca616201f1b3573b34b6 (patch) | |
tree | 959e2ac2a41c0a96af2777db8832e1ce5006aaa4 /converters | |
parent | a6dff2cd2592b3ab0f27912ce940fbd6b634793b (diff) | |
download | freebsd-ports-gnome-d9dd9f50997fe2d89407ca616201f1b3573b34b6.tar.gz freebsd-ports-gnome-d9dd9f50997fe2d89407ca616201f1b3573b34b6.tar.zst freebsd-ports-gnome-d9dd9f50997fe2d89407ca616201f1b3573b34b6.zip |
Support stage
Diffstat (limited to 'converters')
-rw-r--r-- | converters/ytnef/Makefile | 12 |
1 files changed, 4 insertions, 8 deletions
diff --git a/converters/ytnef/Makefile b/converters/ytnef/Makefile index 3a8a364dba51..e2350983b322 100644 --- a/converters/ytnef/Makefile +++ b/converters/ytnef/Makefile @@ -10,6 +10,8 @@ MASTER_SITES= SF MAINTAINER= delphus@gmail.com COMMENT= Unpack data in MS Outlook TNEF format +OPTIONS_DEFINE= DOCS + LIB_DEPENDS= libytnef.so:${PORTSDIR}/devel/libytnef RUN_DEPENDS= p5-MIME-Tools>=0:${PORTSDIR}/mail/p5-MIME-Tools @@ -23,18 +25,12 @@ LDFLAGS+= -L${LOCALBASE}/lib PLIST_FILES= bin/ytnef bin/ytnefprocess.pl bin/ytnefprint PORTDOCS= AUTHORS NEWS README -NO_STAGE= yes - -.include <bsd.port.options.mk> - post-patch: @${REINPLACE_CMD} -e 's|^#!/usr/bin/perl|#!${PERL}|' \ ${WRKSRC}/src/ytnef/ytnefprocess.pl post-install: -.if ${PORT_OPTIONS:MDOCS} - @${MKDIR} ${DOCSDIR} - cd ${WRKSRC} && ${INSTALL_DATA} ${PORTDOCS} ${DOCSDIR} -.endif + @${MKDIR} ${STAGEDIR}${DOCSDIR} + cd ${WRKSRC} && ${INSTALL_DATA} ${PORTDOCS} ${STAGEDIR}${DOCSDIR} .include <bsd.port.mk> |