diff options
author | Pawel Pekala <pawel@FreeBSD.org> | 2014-04-01 15:19:43 +0000 |
---|---|---|
committer | Pawel Pekala <pawel@FreeBSD.org> | 2014-04-01 15:19:43 +0000 |
commit | 32e97360b33d3c0eb07a60ea644de4c93370c678 (patch) | |
tree | dc249fe7ee43af4f057ed6bf91eef92e39e624da /devel/fsmgenerator | |
parent | a1a5ce598553f97d92f52802eb59211a7ccbfedd (diff) | |
download | ports-32e97360b33d3c0eb07a60ea644de4c93370c678.tar.gz ports-32e97360b33d3c0eb07a60ea644de4c93370c678.zip |
Notes
Diffstat (limited to 'devel/fsmgenerator')
-rw-r--r-- | devel/fsmgenerator/Makefile | 12 |
1 files changed, 8 insertions, 4 deletions
diff --git a/devel/fsmgenerator/Makefile b/devel/fsmgenerator/Makefile index b4e56b027833..0d1ae5b777aa 100644 --- a/devel/fsmgenerator/Makefile +++ b/devel/fsmgenerator/Makefile @@ -11,14 +11,18 @@ DISTNAME= FSMGenerator${PORTVERSION:S/.//g} MAINTAINER= ports@FreeBSD.org COMMENT= Finite State Machine generating software +USES= gmake + PLIST_FILES= bin/fsmgenerator -USE_GMAKE= yes -NO_STAGE= yes post-patch: @${FIND} ${WRKSRC} -name "Makefile" | ${XARGS} \ ${REINPLACE_CMD} -e "s|make$$|${GMAKE}|" \ - -e "s|^CFLAGS[ ]+=|CFLAGS +=|" \ - -e "s|/usr/local|${PREFIX}|" + -e "/^RCFLAGS/ s|=|= ${CFLAGS}|" \ + -e "s|/usr/local|${STAGEDIR}${PREFIX}|" \ + -e "s|gcc|${CC}|g" + +post-install: + @${STRIP_CMD} ${STAGEDIR}${PREFIX}/bin/${PORTNAME} .include <bsd.port.mk> |