diff options
author | Baptiste Daroussin <bapt@FreeBSD.org> | 2013-04-29 22:27:05 +0000 |
---|---|---|
committer | Baptiste Daroussin <bapt@FreeBSD.org> | 2013-04-29 22:27:05 +0000 |
commit | 9ff06b3cbf038359059e40e0db31ba0cbe996d0f (patch) | |
tree | 8583dfe71adaea6ce266633e1799cd602516b801 /deskutils/tpb | |
parent | 25c4307da135103ea810d65f96f2f1c21e0547b4 (diff) |
Notes
Diffstat (limited to 'deskutils/tpb')
-rw-r--r-- | deskutils/tpb/Makefile | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/deskutils/tpb/Makefile b/deskutils/tpb/Makefile index 5f3e0e0cea8a..c3812685ed69 100644 --- a/deskutils/tpb/Makefile +++ b/deskutils/tpb/Makefile @@ -23,7 +23,9 @@ CONFIGURE_ARGS= --with-libiconv-prefix=${LOCALBASE} MAN1= tpb.1 -.ifndef(WITHOUT_NLS) +.include <bsd.port.options.mk> + +.if ${PORT_OPTIONS:MNLS} USES+= gettext PLIST_SUB+= NLS="" .else @@ -39,7 +41,7 @@ post-patch: post-install: ${INSTALL_DATA} ${WRKSRC}/doc/tpbrc ${PREFIX}/etc/tpbrc.default -.ifndef(NOPORTDOCS) +.if ${PORT_OPTIONS:MDOCS} ${MKDIR} ${DOCSDIR} ${INSTALL_SCRIPT} ${WRKSRC}/doc/callback_example.sh ${DOCSDIR} .endif |