diff options
author | bapt <bapt@FreeBSD.org> | 2014-01-18 17:26:33 +0800 |
---|---|---|
committer | bapt <bapt@FreeBSD.org> | 2014-01-18 17:26:33 +0800 |
commit | 08a72d728c3112d35fe46b14961849848cea7593 (patch) | |
tree | f121dc2441a5ea7fc1dd13e0d96b32302dc77204 /japanese/plain2 | |
parent | 7a76a6dedd61b9e2c2d8db41d7563b87849e8100 (diff) | |
download | freebsd-ports-gnome-08a72d728c3112d35fe46b14961849848cea7593.tar.gz freebsd-ports-gnome-08a72d728c3112d35fe46b14961849848cea7593.tar.zst freebsd-ports-gnome-08a72d728c3112d35fe46b14961849848cea7593.zip |
Support stage
Fix build with clang
Remove references to NOPORTDATA
Diffstat (limited to 'japanese/plain2')
-rw-r--r-- | japanese/plain2/Makefile | 13 |
1 files changed, 5 insertions, 8 deletions
diff --git a/japanese/plain2/Makefile b/japanese/plain2/Makefile index 680c1efd33a9..5456ca7f0354 100644 --- a/japanese/plain2/Makefile +++ b/japanese/plain2/Makefile @@ -15,26 +15,23 @@ PATCHFILES= ${PORTNAME}_${PORTVERSION:R}p${PORTVERSION:E}-4.2.diff.gz PATCH_DIST_STRIP= -p1 MAINTAINER= turutani@scphys.kyoto-u.ac.jp -COMMENT= A text converter from plain to any format +COMMENT= Text converter from plain to any format WRKSRC= ${WRKDIR}/${PORTNAME}-${PORTVERSION:R}p${PORTVERSION:E}.orig BUILD_WRKSRC= ${WRKDIR}/${PORTNAME}-${PORTVERSION:R}p${PORTVERSION:E}.orig/src PLIST_FILES= bin/plain2 PORTDATA= OHP.p2 OHP_t.p2 header.p2 header_t.p2 jbook.p2 supsnum.p2 -CFLAGS+= -DBSD -DKANJI -DPICTURE -DHTML +CFLAGS+= -DBSD -DKANJI -DPICTURE -DHTML -Wno-return-type ALL_TARGET= ${PORTNAME} -NO_STAGE= yes post-patch: @${REINPLACE_CMD} -e \ 's|/usr/lib/plain2|${DATADIR}|g' ${BUILD_WRKSRC}/plain2.h do-install: - ${INSTALL_PROGRAM} ${BUILD_WRKSRC}/${PORTNAME} ${PREFIX}/bin -.if !defined(NOPORTDATA) - @${MKDIR} ${DATADIR} - ${INSTALL_DATA} ${WRKSRC}/lib/*.p2 ${DATADIR} -.endif + ${INSTALL_PROGRAM} ${BUILD_WRKSRC}/${PORTNAME} ${STAGEDIR}${PREFIX}/bin + @${MKDIR} ${STAGEDIR}${DATADIR} + ${INSTALL_DATA} ${WRKSRC}/lib/*.p2 ${STAGEDIR}${DATADIR} .include <bsd.port.mk> |