diff options
author | bapt <bapt@FreeBSD.org> | 2014-03-25 16:13:17 +0800 |
---|---|---|
committer | bapt <bapt@FreeBSD.org> | 2014-03-25 16:13:17 +0800 |
commit | 3206ceacb1638608cad967015e2d9e2b94a88e9f (patch) | |
tree | ab4880db208f62323b078393fdb5774fb5af54d5 /lang | |
parent | ab62933fdb88da24f60b082a682cbd01c9fc3b62 (diff) | |
download | freebsd-ports-gnome-3206ceacb1638608cad967015e2d9e2b94a88e9f.tar.gz freebsd-ports-gnome-3206ceacb1638608cad967015e2d9e2b94a88e9f.tar.zst freebsd-ports-gnome-3206ceacb1638608cad967015e2d9e2b94a88e9f.zip |
Support stage
Stop trying to remove striping from INSTALL_PROGRAM is DEBUG is set, the framework already does that
Diffstat (limited to 'lang')
-rw-r--r-- | lang/cparser/Makefile | 24 |
1 files changed, 9 insertions, 15 deletions
diff --git a/lang/cparser/Makefile b/lang/cparser/Makefile index d98ee57eb3fa..28a64ac193bb 100644 --- a/lang/cparser/Makefile +++ b/lang/cparser/Makefile @@ -7,31 +7,25 @@ CATEGORIES= lang devel MASTER_SITES= SF MAINTAINER= sperber@FreeBSD.org -COMMENT= A C99 compiler using libFIRM as backend +COMMENT= C99 compiler using libFIRM as backend LICENSE= GPLv2 -LIB_DEPENDS= firm:${PORTSDIR}/devel/libfirm +LIB_DEPENDS= libfirm.so:${PORTSDIR}/devel/libfirm -USE_BZIP2= yes -USE_GMAKE= yes -USES= pkgconfig +USES= pkgconfig gmake tar:bzip2 -PLIST_FILES= bin/cparser - -MAN1= cparser.1 +PLIST_FILES= bin/cparser \ + man/man1/cparser.1.gz BUILDDIR= optimize -INSTALL_CMD= ${INSTALL_PROGRAM} OPTIONS_DEFINE= DEBUG -NO_STAGE= yes -.include <bsd.port.pre.mk> +.include <bsd.port.options.mk> .if ${PORT_OPTIONS:MDEBUG} BUILDDIR= debug -INSTALL_CMD= ${INSTALL_PROGRAM:S,-s,,} .else post-patch: @${REINPLACE_CMD} -e 's/^variant ?= debug/variant ?= optimize/' \ @@ -39,7 +33,7 @@ post-patch: .endif do-install: - @${INSTALL_CMD} ${WRKSRC}/build/${BUILDDIR}/cparser ${PREFIX}/bin - @${INSTALL_MAN} ${WRKSRC}/cparser.1 ${MAN1PREFIX}/man/man1 + ${INSTALL_PROGRAM} ${WRKSRC}/build/${BUILDDIR}/cparser ${STAGEDIR}${PREFIX}/bin + ${INSTALL_MAN} ${WRKSRC}/cparser.1 ${STAGEDIR}${MAN1PREFIX}/man/man1 -.include <bsd.port.post.mk> +.include <bsd.port.mk> |