- use ${PKGNAME} with WRKSRC tag

- remove unnecessary MAN tag
This commit is contained in:
brad 1999-09-06 17:43:10 +00:00
parent 324acdc2ea
commit 1e6702ea7d

View File

@ -1,4 +1,4 @@
# $OpenBSD: Makefile,v 1.7 1999/04/03 07:22:19 brad Exp $
# $OpenBSD: Makefile,v 1.8 1999/09/06 17:43:10 brad Exp $
# $FreeBSD: Makefile,v 1.11 1997/11/25 20:45:45 ache Exp $
DISTNAME= zip22
@ -8,16 +8,15 @@ MASTER_SITES= ftp://ftp.cdrom.com/pub/infozip/src/
MAINTAINER= ports@openbsd.org
WRKSRC= ${WRKDIR}/zip-2.2
WRKSRC= ${WRKDIR}/${PKGNAME}
MAKEFILE= unix/Makefile
MAKE_FLAGS= LOCAL_ZIP="${CFLAGS}" -f
ALL_TARGET= generic
MAN1= zip.1
do-install:
cd ${WRKSRC} && \
@cd ${WRKSRC} && \
${INSTALL_PROGRAM} zip zipnote zipsplit zipcloak ${PREFIX}/bin
cd ${WRKSRC}/man && \
${INSTALL_MAN} ${MAN1} ${PREFIX}/man/man1
@cd ${WRKSRC}/man && \
${INSTALL_MAN} zip.1 ${PREFIX}/man/man1
.include <bsd.port.mk>