aboutsummaryrefslogtreecommitdiff
path: root/misc/mmv
diff options
context:
space:
mode:
authorEmanuel Haupt <ehaupt@FreeBSD.org>2014-02-21 12:51:20 +0000
committerEmanuel Haupt <ehaupt@FreeBSD.org>2014-02-21 12:51:20 +0000
commit105507d6393d11205e64be1f6026e4966b5a36d1 (patch)
treeb28022feb73caf11a0f3813bea7efffb6555dbe1 /misc/mmv
parent8c1e4c9a500fe8515fdf2374c3ccd48a940d4f65 (diff)
downloadports-105507d6393d11205e64be1f6026e4966b5a36d1.tar.gz
ports-105507d6393d11205e64be1f6026e4966b5a36d1.zip
Support staging
Notes
Notes: svn path=/head/; revision=345381
Diffstat (limited to 'misc/mmv')
-rw-r--r--misc/mmv/Makefile13
-rw-r--r--misc/mmv/pkg-descr2
-rw-r--r--misc/mmv/pkg-plist8
3 files changed, 15 insertions, 8 deletions
diff --git a/misc/mmv/Makefile b/misc/mmv/Makefile
index f5bcf3b28a92..c6f14e43acec 100644
--- a/misc/mmv/Makefile
+++ b/misc/mmv/Makefile
@@ -15,21 +15,20 @@ MAINTAINER= simon@olofsson.de
COMMENT= Move/Copy/Append/Link multiple files
CFLAGS+= -DHAS_DIRENT
-MAN1= mmv.1 mad.1 mcp.1 mln.1
-PLIST_FILES= bin/mmv bin/mad bin/mcp bin/mln
WRKSRC= ${WRKDIR}/${PORTNAME}-1.01b.orig
-NO_STAGE= yes
do-build:
@(cd ${WRKSRC} ; \
${CC} ${CFLAGS} -o ${PORTNAME} ${PORTNAME}.c ; )
do-install:
- @${INSTALL_PROGRAM} ${WRKSRC}/${PORTNAME} ${PREFIX}/bin/${PORTNAME}
- @${INSTALL_MAN} ${WRKSRC}/mmv.1 ${PREFIX}/man/man1/${PORTNAME}.1
+ @${INSTALL_PROGRAM} ${WRKSRC}/${PORTNAME} \
+ ${STAGEDIR}${PREFIX}/bin/${PORTNAME}
+ @${INSTALL_MAN} ${WRKSRC}/mmv.1 \
+ ${STAGEDIR}${PREFIX}/man/man1/${PORTNAME}.1
.for i in mcp mad mln
- @${LN} ${PREFIX}/bin/${PORTNAME} ${PREFIX}/bin/${i}
- @${LN} ${PREFIX}/man/man1/${PORTNAME}.1 ${PREFIX}/man/man1/${i}.1
+ @${LN} -sf ${PORTNAME} ${STAGEDIR}${PREFIX}/bin/${i}
+ @${LN} -sf ${PORTNAME}.1 ${STAGEDIR}${PREFIX}/man/man1/${i}.1
.endfor
.include <bsd.port.mk>
diff --git a/misc/mmv/pkg-descr b/misc/mmv/pkg-descr
index e553e04f90a4..478b71fc6b9a 100644
--- a/misc/mmv/pkg-descr
+++ b/misc/mmv/pkg-descr
@@ -4,4 +4,4 @@ any unexpected deletion of files due to collisions of target names with
existing filenames or with other target names.
Author: Vladimir Lanin <vlad@brm.com>
-WWW: http://packages.debian.org/unstable/utils/mmv
+WWW: http://packages.debian.org/unstable/utils/mmv
diff --git a/misc/mmv/pkg-plist b/misc/mmv/pkg-plist
new file mode 100644
index 000000000000..6d1362d39282
--- /dev/null
+++ b/misc/mmv/pkg-plist
@@ -0,0 +1,8 @@
+bin/mad
+bin/mcp
+bin/mln
+bin/mmv
+man/man1/mad.1.gz
+man/man1/mcp.1.gz
+man/man1/mln.1.gz
+man/man1/mmv.1.gz