freebsd-ports/misc/mmv/Makefile
Sylvio Cesar Teixeira 8f00ed9e42 - Update to 1.01b.15
PR:		ports/146301
Submitted by:	Simon Olofsson <simon@olofsson.de> (maintainer)
2010-05-07 23:00:38 +00:00

39 lines
956 B
Makefile

# New ports collection makefile for: mmv
# Date created: 2 Feb 1995
# Whom: 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
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>