aboutsummaryrefslogtreecommitdiff
path: root/news
diff options
context:
space:
mode:
authorJohan van Selst <johans@FreeBSD.org>2014-08-31 19:19:55 +0000
committerJohan van Selst <johans@FreeBSD.org>2014-08-31 19:19:55 +0000
commita8d6c8886f18d6f32803bacf079c1db6a6bda097 (patch)
treee5a0d6761ad25c326d7c6c996cab6bd63d15c6e3 /news
parentb8b89f7101e903bcca595218037521db2bb36704 (diff)
downloadports-a8d6c8886f18d6f32803bacf079c1db6a6bda097.tar.gz
ports-a8d6c8886f18d6f32803bacf079c1db6a6bda097.zip
Notes
Diffstat (limited to 'news')
-rw-r--r--news/tin/Makefile4
1 files changed, 4 insertions, 0 deletions
diff --git a/news/tin/Makefile b/news/tin/Makefile
index e1d8f6832cc3..8bc13139f588 100644
--- a/news/tin/Makefile
+++ b/news/tin/Makefile
@@ -69,6 +69,8 @@ CPPFLAGS+= -I${LOCALBASE}/include
LDFLAGS+= -L${LOCALBASE}/lib
ALL_TARGET= build
+.include <bsd.port.options.mk>
+
post-patch:
${REINPLACE_CMD} -Ee 's:5/(mmdf|mbox):5/tin_\1:g' \
${WRKSRC}/src/Makefile.in
@@ -87,8 +89,10 @@ post-patch:
${MV} ${WRKSRC}/tools/url_handler.pl \
${WRKSRC}/tools/tinurl_handler.pl
+.if ${PORT_OPTIONS:MNLS}
post-build:
${MAKE_CMD} -C ${WRKSRC}/po
+.endif
post-install:
${INSTALL_DATA} ${WRKSRC}/doc/tin.defaults \