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
|
|
|
|
#
|
2000-04-20 01:03:36 -04:00
|
|
|
# $OpenBSD: Makefile,v 1.8 2000/04/20 05:03:36 kevlo Exp $
|
1998-06-07 22:52:32 -04:00
|
|
|
#
|
|
|
|
|
|
|
|
DISTNAME= mmv
|
|
|
|
PKGNAME= mmv-1.01b
|
|
|
|
CATEGORIES= misc
|
2000-03-24 17:11:32 -05:00
|
|
|
NEED_VERSION= 1.191
|
1998-06-07 22:52:32 -04:00
|
|
|
MASTER_SITES= ftp://gatekeeper.dec.com/pub/usenet/comp.sources.unix/volume21/mmv/
|
|
|
|
DISTFILES= part01.Z part02.Z
|
|
|
|
|
2000-02-02 12:02:38 -05:00
|
|
|
MASTER_SITES0= ftp://gatekeeper.dec.com/pub/usenet/comp.sources.unix/volume22/
|
|
|
|
PATCHFILES= mmv.pch.Z:0
|
1998-06-07 22:52:32 -04:00
|
|
|
|
|
|
|
MAINTAINER= angelos@openbsd.org
|
|
|
|
|
2000-03-22 14:58:12 -05:00
|
|
|
PERMIT_PACKAGE_CDROM= "no fee"
|
|
|
|
PERMIT_PACKAGE_FTP= Yes
|
|
|
|
PERMIT_DISTFILES_CDROM= "no fee"
|
|
|
|
PERMIT_DISTFILES_FTP= Yes
|
|
|
|
|
1998-06-07 22:52:32 -04:00
|
|
|
DIST_SUBDIR= ${DISTNAME}
|
2000-02-10 18:14:27 -05:00
|
|
|
WRKDIST= ${WRKDIR}
|
1998-06-07 22:52:32 -04:00
|
|
|
PATCH_DIST_ARGS= -d ${WRKSRC} --forward --quiet -E ${PATCH_DIST_STRIP} mmv.c
|
2000-04-20 01:03:36 -04:00
|
|
|
FAKE= Yes
|
1998-06-07 22:52:32 -04:00
|
|
|
|
|
|
|
do-extract:
|
2000-02-10 18:14:27 -05:00
|
|
|
@rm -rf ${WRKDIR}
|
|
|
|
@mkdir -p ${WRKDIR}/tmp
|
|
|
|
@for file in ${DISTFILES}; do \
|
|
|
|
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 ; \
|
2000-02-10 18:14:27 -05:00
|
|
|
cat mmv.c.? >mmv.c ; rm mmv.c.?
|
1998-06-07 22:52:32 -04:00
|
|
|
|
|
|
|
.include <bsd.port.mk>
|