summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorehaupt <ehaupt@FreeBSD.org>2013-10-25 14:17:10 +0000
committerehaupt <ehaupt@FreeBSD.org>2013-10-25 14:17:10 +0000
commit46cd5e3a347785b79abb6b0288d03151d84667e9 (patch)
tree5fe4dbd877bfaac64e8eb36833d1610204d98c9b
parent3162e4d8c03feb5eb8eebc8ef7ab1ee7d2f5576e (diff)
downloadFreeBSD-ports-46cd5e3a347785b79abb6b0288d03151d84667e9.zip
FreeBSD-ports-46cd5e3a347785b79abb6b0288d03151d84667e9.tar.gz
Support staging.
-rw-r--r--graphics/fig2sxd/Makefile8
-rw-r--r--graphics/metacam/Makefile13
-rw-r--r--graphics/pecomato/Makefile11
-rw-r--r--graphics/telak/Makefile8
4 files changed, 17 insertions, 23 deletions
diff --git a/graphics/fig2sxd/Makefile b/graphics/fig2sxd/Makefile
index 376a3eb..47073b3 100644
--- a/graphics/fig2sxd/Makefile
+++ b/graphics/fig2sxd/Makefile
@@ -14,17 +14,15 @@ USES= gmake
WRKSRC= ${WRKDIR}/${PORTNAME}-${PORTVERSION}
-MAN1= fig2sxd.1
-PLIST_FILES= bin/fig2sxd
+PLIST_FILES= bin/fig2sxd man/man1/fig2sxd.1.gz
-NO_STAGE= yes
post-patch:
@${REINPLACE_CMD} -e \
'/^CXX/d; s|^\(all:\).*|\1 $$(TARGET1) fig2sxd.1|' \
${WRKSRC}/${MAKEFILE}
do-install:
- ${INSTALL_PROGRAM} ${WRKSRC}/${PORTNAME} ${PREFIX}/bin
- ${INSTALL_MAN} ${WRKSRC}/${PORTNAME}.1 ${MANPREFIX}/man/man1
+ ${INSTALL_PROGRAM} ${WRKSRC}/${PORTNAME} ${STAGEDIR}${PREFIX}/bin
+ ${INSTALL_MAN} ${WRKSRC}/${PORTNAME}.1 ${STAGEDIR}${MANPREFIX}/man/man1
.include <bsd.port.mk>
diff --git a/graphics/metacam/Makefile b/graphics/metacam/Makefile
index e629d96..ac792a5 100644
--- a/graphics/metacam/Makefile
+++ b/graphics/metacam/Makefile
@@ -14,25 +14,24 @@ USES= gmake
CFLAGS+= -I${LOCALBASE}/include
CXXFLAGS+= -I${LOCALBASE}/include
-PLIST_FILES= bin/metacam
+PLIST_FILES= bin/metacam man/man1/metacam.1.gz
PORTDOCS= README.canon README.casio
-MAN1= metacam.1
ALL_TARGET= ${PORTNAME}
OPTIONS_DEFINE= DOCS
-NO_STAGE= yes
.include <bsd.port.options.mk>
do-install:
- ${INSTALL_PROGRAM} ${WRKSRC}/${PORTNAME} ${PREFIX}/bin
- ${INSTALL_MAN} ${FILESDIR}/${PORTNAME}.1 ${MANPREFIX}/man/man1
+ ${INSTALL_PROGRAM} ${WRKSRC}/${PORTNAME} ${STAGEDIR}${PREFIX}/bin
+ ${INSTALL_MAN} ${FILESDIR}/${PORTNAME}.1 \
+ ${STAGEDIR}${MANPREFIX}/man/man1
.if ${PORT_OPTIONS:MDOCS}
- ${MKDIR} ${DOCSDIR}
+ ${MKDIR} ${STAGEDIR}${DOCSDIR}
.for f in ${PORTDOCS}
- ${INSTALL_DATA} ${WRKSRC}/${f} ${DOCSDIR}
+ ${INSTALL_DATA} ${WRKSRC}/${f} ${STAGEDIR}${DOCSDIR}
.endfor
.endif
diff --git a/graphics/pecomato/Makefile b/graphics/pecomato/Makefile
index e35ee83..c22c57c 100644
--- a/graphics/pecomato/Makefile
+++ b/graphics/pecomato/Makefile
@@ -15,19 +15,18 @@ USE_PYTHON_BUILD= yes
MAKEFILE= Makefile.unix
-MAN1= pecomato.1
-PLIST_FILES= bin/pecomato
+PLIST_FILES= bin/pecomato man/man1/pecomato.1.gz
-NO_STAGE= yes
post-build:
${PYTHON} ${WRKSRC}/devtools/txt2tags.py --no-rc -t man \
- -i ${WRKSRC}/doc/manpage.t2t -o ${WRKSRC}/doc/${MAN1}
+ -i ${WRKSRC}/doc/manpage.t2t -o ${WRKSRC}/doc/${PORTNAME}.1
post-patch:
@${REINPLACE_CMD} -e '/^CC/d' ${WRKSRC}/${MAKEFILE}
do-install:
- ${INSTALL_PROGRAM} ${WRKSRC}/${PORTNAME} ${PREFIX}/bin
- ${INSTALL_MAN} ${WRKSRC}/doc/${MAN1} ${MANPREFIX}/man/man1
+ ${INSTALL_PROGRAM} ${WRKSRC}/${PORTNAME} ${STAGEDIR}${PREFIX}/bin
+ ${INSTALL_MAN} ${WRKSRC}/doc/${PORTNAME}.1 \
+ ${STAGEDIR}${MANPREFIX}/man/man1
.include <bsd.port.mk>
diff --git a/graphics/telak/Makefile b/graphics/telak/Makefile
index 1176c36..bb2be96 100644
--- a/graphics/telak/Makefile
+++ b/graphics/telak/Makefile
@@ -21,13 +21,11 @@ USE_EFL= imlib2
ALL_TARGET= ${PORTNAME}
-PLIST_FILES= bin/telak
-MAN1= telak.1
+PLIST_FILES= bin/telak man/man1/telak.1.gz
-NO_STAGE= yes
do-install:
- ${INSTALL_PROGRAM} ${WRKSRC}/${PORTNAME} ${PREFIX}/bin
- ${INSTALL_MAN} ${WRKSRC}/${PORTNAME}.1 ${MAN1PREFIX}/man/man1
+ ${INSTALL_PROGRAM} ${WRKSRC}/${PORTNAME} ${STAGEDIR}${PREFIX}/bin
+ ${INSTALL_MAN} ${WRKSRC}/${PORTNAME}.1 ${STAGEDIR}${MAN1PREFIX}/man/man1
post-install:
@${CAT} ${PKGMESSAGE}
OpenPOWER on IntegriCloud