diff options
author | miwi <miwi@FreeBSD.org> | 2014-02-21 09:59:49 +0800 |
---|---|---|
committer | miwi <miwi@FreeBSD.org> | 2014-02-21 09:59:49 +0800 |
commit | 4fa235d512de56d9d8d48b1a0de29db8d22f86f9 (patch) | |
tree | f21e822b37d58213021b471fb678bf240a45dc1b /devel | |
parent | e2e839749ff059cd7571be74cd36caca0319297b (diff) | |
download | freebsd-ports-gnome-4fa235d512de56d9d8d48b1a0de29db8d22f86f9.tar.gz freebsd-ports-gnome-4fa235d512de56d9d8d48b1a0de29db8d22f86f9.tar.zst freebsd-ports-gnome-4fa235d512de56d9d8d48b1a0de29db8d22f86f9.zip |
- Stage support
Diffstat (limited to 'devel')
-rw-r--r-- | devel/mkcmd/Makefile | 9 | ||||
-rw-r--r-- | devel/mkcmd/files/patch-ac | 2 | ||||
-rw-r--r-- | devel/mkcmd/files/patch-ae | 2 | ||||
-rw-r--r-- | devel/mkcmd/pkg-plist | 2 |
4 files changed, 7 insertions, 8 deletions
diff --git a/devel/mkcmd/Makefile b/devel/mkcmd/Makefile index c26c4c7d010b..2b0df021ac36 100644 --- a/devel/mkcmd/Makefile +++ b/devel/mkcmd/Makefile @@ -17,11 +17,8 @@ BUILD_DEPENDS= makeme:${PORTSDIR}/devel/msrc0 MAKE_FLAGS= MAKEFILE= +USES= desthack -MAN1= mkcmd.1 -MAN5= mkcmd.5 - -NO_STAGE= yes post-patch: .for f in bin/mkcmd/machine.h bin/mkcmd/mkcmd.man lib/mkcmd/mkcmd.man @${REINPLACE_CMD} -e "s|%%PREFIX%%|${PREFIX}|g" ${WRKSRC}/${f} @@ -37,8 +34,8 @@ do-install: ${MAKE_FLAGS} ${MAKEFILE} ${MAKE_ARGS} ${INSTALL_TARGET}) .endfor ${INSTALL_MAN} ${WRKSRC}/bin/mkcmd/mkcmd.man \ - ${PREFIX}/man/man1/mkcmd.1 + ${STAGEDIR}${PREFIX}/man/man1/mkcmd.1 ${INSTALL_MAN} ${WRKSRC}/lib/mkcmd/mkcmd.man \ - ${PREFIX}/man/man5/mkcmd.5 + ${STAGEDIR}${PREFIX}/man/man5/mkcmd.5 .include <bsd.port.mk> diff --git a/devel/mkcmd/files/patch-ac b/devel/mkcmd/files/patch-ac index eea3be9addd2..c59d28c6bb04 100644 --- a/devel/mkcmd/files/patch-ac +++ b/devel/mkcmd/files/patch-ac @@ -5,7 +5,7 @@ SHELL=/bin/sh -LIB= ${DESTDIR}/usr/local/lib/mkcmd -+LIB= ${PREFIX}/share/mkcmd ++LIB= ${DESTDIR}${PREFIX}/share/mkcmd TEMPL= Template.m bytes.m bytes.mi client.m \ bsd.m \ diff --git a/devel/mkcmd/files/patch-ae b/devel/mkcmd/files/patch-ae index 7e2710e4d9d9..f6fbddaa7ced 100644 --- a/devel/mkcmd/files/patch-ae +++ b/devel/mkcmd/files/patch-ae @@ -5,7 +5,7 @@ 'ifelse(HOSTTYPE,`PTX', `BIN= ${ROOT}/bin', -`BIN= ${DESTDIR}/usr/local/bin')` -+`BIN= ${PREFIX}/bin')` ++`BIN= ${DESTDIR}${PREFIX}/bin')` PROG= mkcmd I=/usr/include diff --git a/devel/mkcmd/pkg-plist b/devel/mkcmd/pkg-plist index 4dd1f953a0a5..0e7121ba3bdb 100644 --- a/devel/mkcmd/pkg-plist +++ b/devel/mkcmd/pkg-plist @@ -231,5 +231,7 @@ share/mkcmd/xdr/Cstring.m share/mkcmd/xdr/Cstring.mc share/mkcmd/xdr/Cstring.mh share/mkcmd/xdr/Cstring.mi +man/man1/mkcmd.1.gz +man/man5/mkcmd.5.gz @dirrm share/mkcmd/xdr @dirrm share/mkcmd |