mirror of
https://git.FreeBSD.org/ports.git
synced 2024-12-28 05:29:48 +00:00
36 lines
901 B
Makefile
36 lines
901 B
Makefile
# Created by: Michael Elbel (me)
|
|
# $FreeBSD$
|
|
|
|
PORTNAME= mmv
|
|
PORTVERSION= 1.01b.15
|
|
CATEGORIES= misc
|
|
MASTER_SITES= ${MASTER_SITE_DEBIAN_POOL}
|
|
DISTNAME= ${PORTNAME}_1.01b.orig
|
|
|
|
PATCH_SITES= ${MASTER_SITES}
|
|
PATCHFILES= ${PORTNAME}_1.01b-15.diff.gz
|
|
PATCH_DIST_STRIP= -p1
|
|
|
|
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
|
|
.for i in mcp mad mln
|
|
@${LN} ${PREFIX}/bin/${PORTNAME} ${PREFIX}/bin/${i}
|
|
@${LN} ${PREFIX}/man/man1/${PORTNAME}.1 ${PREFIX}/man/man1/${i}.1
|
|
.endfor
|
|
|
|
.include <bsd.port.mk>
|