diff options
author | Baptiste Daroussin <bapt@FreeBSD.org> | 2013-05-06 10:22:41 +0000 |
---|---|---|
committer | Baptiste Daroussin <bapt@FreeBSD.org> | 2013-05-06 10:22:41 +0000 |
commit | 062ed8d36fcff34f0d3051dd7687377d27558a32 (patch) | |
tree | 35173dab2afafdac2c12b688bfc1f1397a7b8cfb /palm/jpilot | |
parent | 00787ee8ab577b8449043d2c735d6136daf31f74 (diff) | |
download | ports-062ed8d36fcff34f0d3051dd7687377d27558a32.tar.gz ports-062ed8d36fcff34f0d3051dd7687377d27558a32.zip |
Notes
Diffstat (limited to 'palm/jpilot')
-rw-r--r-- | palm/jpilot/Makefile | 16 |
1 files changed, 9 insertions, 7 deletions
diff --git a/palm/jpilot/Makefile b/palm/jpilot/Makefile index c800b463a463..c637c5d62924 100644 --- a/palm/jpilot/Makefile +++ b/palm/jpilot/Makefile @@ -26,7 +26,13 @@ CONFIGURE_ARGS+= --with-pilot-prefix=${LOCALBASE} LICENSE= GPLv2 -.if !defined(WITHOUT_NLS) +USE_GNOME+= gtk20 + +MAN1= jpilot-dial.1 jpilot-dump.1 jpilot-sync.1 jpilot.1 + +.include <bsd.port.options.mk> + +.if ${PORT_OPTIONS:MNLS} USES+= gettext CONFIGURE_ARGS+= --enable-nls PLIST_SUB= NLS="" @@ -35,11 +41,7 @@ CONFIGURE_ARGS+= --disable-nls PLIST_SUB= NLS="@comment " .endif -USE_GNOME+= gtk20 - -MAN1= jpilot-dial.1 jpilot-dump.1 jpilot-sync.1 jpilot.1 - -.if !defined(NOPORTDOCS) +.if ${PORT_OPTIONS:MDOCS} PORTDOCS= * .endif @@ -62,7 +64,7 @@ post-install: ${SED} 's,^${PREFIX}/,,' >> ${TMPPLIST} @${FIND} ${DATADIR} -type d | ${SORT} -r | \ ${SED} 's,^${PREFIX}/,@dirrm ,' >> ${TMPPLIST} -.if !defined(NOPORTDOCS) +.if ${PORT_OPTIONS:MDOCS} @${MKDIR} ${DOCSDIR} .for ext in html png jpg ${INSTALL_DATA} ${WRKSRC}/docs/*.${ext} ${DOCSDIR} |