1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-23 04:23:08 +00:00
freebsd-ports/misc/mmv/Makefile
2014-05-10 22:06:22 +00:00

35 lines
838 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= ports@FreeBSD.org
COMMENT= Move/Copy/Append/Link multiple files
CFLAGS+= -DHAS_DIRENT
WRKSRC= ${WRKDIR}/${PORTNAME}-1.01b.orig
do-build:
@(cd ${WRKSRC} ; \
${CC} ${CFLAGS} -o ${PORTNAME} ${PORTNAME}.c ; )
do-install:
@${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} -sf ${PORTNAME} ${STAGEDIR}${PREFIX}/bin/${i}
@${LN} -sf ${PORTNAME}.1 ${STAGEDIR}${PREFIX}/man/man1/${i}.1
.endfor
.include <bsd.port.mk>