diff options
author | Rong-En Fan <rafan@FreeBSD.org> | 2007-07-28 23:58:25 +0000 |
---|---|---|
committer | Rong-En Fan <rafan@FreeBSD.org> | 2007-07-28 23:58:25 +0000 |
commit | d9b6bc8d51f10f1118391c4cd2d4787070dc8070 (patch) | |
tree | 0364c7ffe7f6d4b96dd2e4301db8d9e934b57bd3 /x11 | |
parent | 34f0eed40db7954a857ab80e3a117890de5abe1d (diff) | |
download | ports-d9b6bc8d51f10f1118391c4cd2d4787070dc8070.tar.gz ports-d9b6bc8d51f10f1118391c4cd2d4787070dc8070.zip |
Notes
Diffstat (limited to 'x11')
-rw-r--r-- | x11/xnee/Makefile | 11 |
1 files changed, 9 insertions, 2 deletions
diff --git a/x11/xnee/Makefile b/x11/xnee/Makefile index a02fdca6a91f..076ff3128a4c 100644 --- a/x11/xnee/Makefile +++ b/x11/xnee/Makefile @@ -36,6 +36,13 @@ PLIST_DIRS= %%DATADIR%%/pixmaps %%DATADIR%% .include <bsd.port.pre.mk> +.if ${OSVERSION} < 600000 +BUILD_DEPENDS+= ${LOCALBASE}/bin/makeinfo:${PORTSDIR}/print/texinfo +MAKEINFO= ${LOCALBASE}/bin/makeinfo +.else +MAKEINFO= /usr/bin/makeinfo +.endif + .if defined(WITH_GNEE) USE_GNOME+= gtk20 PLIST_FILES+= bin/gnee @@ -73,8 +80,8 @@ post-patch: 's|cp $$(PNEE)|$$(INSTALL_PROGRAM) $$(PNEE)|g' ${WRKSRC}/pnee/src/Makefile.in post-build: - cd ${WRKSRC}/cnee/src && /usr/bin/makeinfo --no-split cnee.texi - cd ${WRKSRC}/doc && /usr/bin/makeinfo --no-split xnee.texi + cd ${WRKSRC}/cnee/src && ${MAKEINFO} --no-split cnee.texi + cd ${WRKSRC}/doc && ${MAKEINFO} --no-split xnee.texi post-install: ${INSTALL_DATA} ${WRKSRC}/cnee/src/cnee.info ${PREFIX}/${INFO_PATH} |