diff options
author | danfe <danfe@FreeBSD.org> | 2014-01-29 21:30:22 +0800 |
---|---|---|
committer | danfe <danfe@FreeBSD.org> | 2014-01-29 21:30:22 +0800 |
commit | 5cb9b46b644df37faf5a5481376b520457b87d04 (patch) | |
tree | b68accf3408d3e94b7c583db66238c82c75e40f5 /lang | |
parent | 906dd7f46f1c2b460e64be587e6f0e55e6839226 (diff) | |
download | freebsd-ports-gnome-5cb9b46b644df37faf5a5481376b520457b87d04.tar.gz freebsd-ports-gnome-5cb9b46b644df37faf5a5481376b520457b87d04.tar.zst freebsd-ports-gnome-5cb9b46b644df37faf5a5481376b520457b87d04.zip |
Stagify, remove check for alpha (long unsupported), convert to OptionsNG,
drop seemingly unused USE_GMAKE, and generally cleanup the port while here.
Diffstat (limited to 'lang')
-rw-r--r-- | lang/pnetlib/Makefile | 36 |
1 files changed, 12 insertions, 24 deletions
diff --git a/lang/pnetlib/Makefile b/lang/pnetlib/Makefile index 79ffa8e44ca8..b49450c22387 100644 --- a/lang/pnetlib/Makefile +++ b/lang/pnetlib/Makefile @@ -14,37 +14,25 @@ COMMENT= C\# system library for pnet BUILD_DEPENDS= cscc:${PORTSDIR}/lang/pnet-base \ treecc:${PORTSDIR}/lang/treecc -.if !defined(WITHOUT_X11) -USE_XLIB= yes -.endif - GNU_CONFIGURE= yes USE_AUTOTOOLS= libtool -USE_GMAKE= yes USE_LDCONFIG= yes PORTDOCS= ChangeLog-1 ChangeLog-2 ChangeLog-3 ChangeLog-4 \ - JScript-embed.txt JScript-internals.txt csunit_howto.html \ - pcf-font-format.txt translating-pnetlib.txt - -NO_STAGE= yes -.include "${.CURDIR}/../pnet/Makefile.pnet" -.include <bsd.port.pre.mk> + JScript-embed.txt JScript-internals.txt csunit_howto.html \ + pcf-font-format.txt translating-pnetlib.txt -.if ${ARCH} == "alpha" -IGNORE= coredump during build on alpha -.endif +OPTIONS_DEFINE= X11 +OPTIONS_DEFAULT= X11 +X11_USE= XORG=x11 post-patch: - @${REINPLACE_CMD} -e 's|$${CONFIG_SHELL-/bin/sh} $$ac_aux_dir|$$ac_aux_dir|' \ - ${WRKSRC}/configure + @${REINPLACE_CMD} -e 's|$${CONFIG_SHELL-/bin/sh} \ + $$ac_aux_dir|$$ac_aux_dir|' ${WRKSRC}/configure post-install: -.if !defined(NOPORTDOCS) - @${MKDIR} ${DOCSDIR} -.for docfile in ${PORTDOCS} - @${INSTALL_DATA} ${WRKSRC}/doc/${docfile} ${DOCSDIR} -.endfor -.endif - -.include <bsd.port.post.mk> + @${MKDIR} ${STAGEDIR}${DOCSDIR} + ${INSTALL_DATA} ${PORTDOCS:S,^,${WRKSRC}/doc/,} ${STAGEDIR}${DOCSDIR} + +.include "${.CURDIR}/../pnet/Makefile.pnet" +.include <bsd.port.mk> |