1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-20 04:02:27 +00:00
freebsd-ports/misc/mmv/Makefile
Stefan Eßer 06ef9fa33e Claim maintainership (was: ports@) and upgrade to version 1.01b.19.
Add LICENSE based on the contents of file ANNOUNCE in the sources.

Approved by:	antoine (mentor)
2017-10-24 19:11:30 +00:00

37 lines
887 B
Makefile

# Created by: Michael Elbel (me)
# $FreeBSD$
PORTNAME= mmv
PORTVERSION= 1.01b.19
CATEGORIES= misc
MASTER_SITES= DEBIAN_POOL
DISTNAME= ${PORTNAME}_1.01b.orig
PATCH_SITES= ${MASTER_SITES}
PATCHFILES= ${PORTNAME}_1.01b-15.diff.gz
PATCH_DIST_STRIP= -p1
MAINTAINER= se@FreeBSD.org
COMMENT= Move/Copy/Append/Link multiple files
LICENSE= Freeware
LICENSE_NAME= MMV
LICENSE_FILE= ${PATCHDIR}/LICENSE
LICENSE_PERMS= dist-mirror pkg-mirror auto-accept
CFLAGS+= -DHAS_DIRENT
WRKSRC= ${WRKDIR}/${PORTNAME}-1.01b.orig
do-build:
cd ${WRKSRC}; ${CC} ${CFLAGS} -o ${PORTNAME} ${PORTNAME}.c
do-install:
${INSTALL_PROGRAM} ${WRKSRC}/mmv ${STAGEDIR}${PREFIX}/bin/
${INSTALL_MAN} ${WRKSRC}/mmv.1 ${STAGEDIR}${PREFIX}/man/man1/
.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>