aboutsummaryrefslogtreecommitdiff
path: root/misc/lifelines
diff options
context:
space:
mode:
authorBaptiste Daroussin <bapt@FreeBSD.org>2013-06-04 14:32:59 +0000
committerBaptiste Daroussin <bapt@FreeBSD.org>2013-06-04 14:32:59 +0000
commit2c1d5c8d64cc101a3c165a9655d6b6016bae8c81 (patch)
tree2a74d01b36c39e20dfd54a67d639e5c2e7a76046 /misc/lifelines
parentf6bc9847f71a8cb6b2709f94fceb770b8811cc80 (diff)
downloadports-2c1d5c8d64cc101a3c165a9655d6b6016bae8c81.tar.gz
ports-2c1d5c8d64cc101a3c165a9655d6b6016bae8c81.zip
Notes
Diffstat (limited to 'misc/lifelines')
-rw-r--r--misc/lifelines/Makefile5
1 files changed, 3 insertions, 2 deletions
diff --git a/misc/lifelines/Makefile b/misc/lifelines/Makefile
index 6c3e92fc9ed1..19e2db79140d 100644
--- a/misc/lifelines/Makefile
+++ b/misc/lifelines/Makefile
@@ -16,7 +16,8 @@ USES= bison iconv
MAN1= btedit.1 dbverify.1 llines.1
-.if !defined(WITHOUT_NLS)
+.include <bsd.port.options.mk>
+.if ${PORT_OPTIONS:MNLS}
USES+= gettext
PLIST_SUB+= NLS=""
.else
@@ -27,7 +28,7 @@ PLIST_SUB+= NLS="@comment "
post-patch:
@${REINPLACE_CMD} -e 's,ncursesw/curses.h,curses.h,' \
${WRKSRC}/src/hdrs/mycurses.h
-.ifdef NOPORTDOCS
+.if ! ${PORT_OPTIONS:MDOCS}
@${REINPLACE_CMD} -e 's,install-data-am: install-docDATA,install-data-am:,' \
${WRKSRC}/Makefile.in
@${REINPLACE_CMD} -e 's,install-data-am: install-dist_pkgdataDATA install-docDATA install-man,install-data-am: install-dist_pkgdataDATA,' \