openbsd-ports/misc/mmv/Makefile

50 lines
1.3 KiB
Makefile
Raw Normal View History

1998-06-07 22:52:32 -04:00
# OpenBSD makefile for: mmv
# Version required: 1.01b
# Date created: June 6 1998
# Whom: Angelos D. Keromytis
#
1999-09-22 06:44:21 -04:00
# $OpenBSD: Makefile,v 1.2 1999/09/22 10:44:21 espie Exp $
1998-06-07 22:52:32 -04:00
#
1999-09-22 06:44:21 -04:00
NEED_VERSION= 1.116
1998-06-07 22:52:32 -04:00
DISTNAME= mmv
PKGNAME= mmv-1.01b
CATEGORIES= misc
MASTER_SITES= ftp://gatekeeper.dec.com/pub/usenet/comp.sources.unix/volume21/mmv/
DISTFILES= part01.Z part02.Z
PATCH_SITES= ftp://gatekeeper.dec.com/pub/usenet/comp.sources.unix/volume22/
PATCHFILES= mmv.pch.Z
MAINTAINER= angelos@openbsd.org
NO_CDROM= "No redistribution for charge"
NO_PACKAGE= "No modification"
DIST_SUBDIR= ${DISTNAME}
NO_WRKSUBDIR= yes
PATCH_DIST_ARGS= -d ${WRKSRC} --forward --quiet -E ${PATCH_DIST_STRIP} mmv.c
MAN1= mmv.1
do-extract:
@${RM} -rf ${WRKDIR}
@${MKDIR} ${WRKDIR}/tmp
@(for file in ${DISTFILES}; do \
1999-09-22 06:44:21 -04:00
${CP} ${FULLDISTDIR}/$$file ${WRKDIR}/tmp; \
1998-06-07 22:52:32 -04:00
done ; \
uncompress ${WRKDIR}/tmp/*; \
cd ${WRKDIR}; \
for file in tmp/part0* ; do \
${SH} ${SCRIPTDIR}/unshar $$file; \
done ; \
${CAT} mmv.c.? >mmv.c ; ${RM} mmv.c.? )
do-install:
(cd ${PREFIX}/bin ; ${RM} -f mmv mad mcp mln ; \
${INSTALL_PROGRAM} ${WRKSRC}/mmv ${PREFIX}/bin ; \
ln -fs ${PREFIX}/bin/mmv ${PREFIX}/bin/mad ; \
ln -fs ${PREFIX}/bin/mmv ${PREFIX}/bin/mcp ; \
ln -fs ${PREFIX}/bin/mmv ${PREFIX}/bin/mln ; \
${INSTALL_MAN} ${WRKSRC}/mmv.1 ${PREFIX}/man/man1 ; )
.include <bsd.port.mk>