diff options
author | Christian Weisgerber <naddy@FreeBSD.org> | 2013-12-12 16:27:03 +0000 |
---|---|---|
committer | Christian Weisgerber <naddy@FreeBSD.org> | 2013-12-12 16:27:03 +0000 |
commit | d504c20899bd4470ad8622d4726013a817470517 (patch) | |
tree | 8ee2cbe0a1cd9d3612156c435d31e5b485a031da /editors/beav/Makefile | |
parent | 10e420075f108b4df81bb8a9c3620bd24799315f (diff) | |
download | ports-d504c20899bd4470ad8622d4726013a817470517.tar.gz ports-d504c20899bd4470ad8622d4726013a817470517.zip |
Notes
Diffstat (limited to 'editors/beav/Makefile')
-rw-r--r-- | editors/beav/Makefile | 25 |
1 files changed, 8 insertions, 17 deletions
diff --git a/editors/beav/Makefile b/editors/beav/Makefile index 6259af7d84b2..8abe7092357e 100644 --- a/editors/beav/Makefile +++ b/editors/beav/Makefile @@ -3,7 +3,7 @@ PORTNAME= beav PORTVERSION= 1.40.18 -PORTREVISION= 1 +PORTREVISION= 2 CATEGORIES= editors MASTER_SITES= ${MASTER_SITE_DEBIAN_POOL} DISTNAME= ${PORTNAME}_${PORTVERSION:R}.orig @@ -18,23 +18,14 @@ COMMENT= Binary Editor And Viewer, a full featured binary file editor WRKSRC= ${WRKDIR}/${PORTNAME}-${PORTVERSION:R:S/.//} ALL_TARGET= beav - -MAN1= beav.1 - -NO_STAGE= yes -post-patch: - @${REINPLACE_CMD} -e 's|^CFLAGS=|CFLAGS+=-DUNIX -DBSD -DNOPROTO#|g ; \ - s|^CC=|CC?=|g ; \ - s|^(|\$$(|g' ${WRKSRC}/Makefile - @${REINPLACE_CMD} -e 's|/usr/share/doc/beav|${DOCSDIR}|g ; \ - s|beav140.txt.gz|beav.txt|' ${WRKSRC}/beav.1 +MAKE_ARGS= CC="${CC}" CFLAGS="${CFLAGS} -DUNIX -DBSD -DNOPROTO" do-install: - ${INSTALL_PROGRAM} ${WRKSRC}/beav ${PREFIX}/bin/beav - ${INSTALL_MAN} ${WRKSRC}/beav.1 ${MANPREFIX}/man/man1/beav.1 -.if !defined(NOPORTDOCS) - @${MKDIR} ${DOCSDIR} - ${INSTALL_DATA} ${WRKSRC}/beav140.txt ${DOCSDIR}/beav.txt -.endif + ${INSTALL_PROGRAM} ${WRKSRC}/beav ${STAGEDIR}${PREFIX}/bin/beav + ${INSTALL_MAN} ${WRKSRC}/beav.1 ${STAGEDIR}${PREFIX}/man/man1/beav.1 + @${MKDIR} ${STAGEDIR}${DOCSDIR} + ${INSTALL_DATA} ${WRKSRC}/beav140.txt ${STAGEDIR}${DOCSDIR}/beav.txt + @${REINPLACE_CMD} -e 's|%%PREFIX%%|${PREFIX}|g' \ + ${STAGEDIR}${PREFIX}/man/man1/beav.1 .include <bsd.port.mk> |