openbsd-ports/net/nfr/Makefile

50 lines
1.2 KiB
Makefile
Raw Normal View History

# OpenBSD makefile for: nfr
1999-03-06 17:51:40 -05:00
# Version required: 2.0.3-research
# Date created: 1998-Jul-4
# Whom: dugsong@OpenBSD.ORG
#
1999-03-06 17:51:40 -05:00
# $OpenBSD: Makefile,v 1.4 1999/03/06 22:51:40 dugsong Exp $
1999-03-06 17:51:40 -05:00
DISTNAME= nfr-2.0.3-research-src
PKGNAME= nfr-2.0.3
CATEGORIES= net
MAINTAINER= dugsong@openbsd.org
NO_CDROM= "LIC: redistribution not allowed"
1998-12-16 15:12:11 -05:00
MIRROR_DISTFILE= no
1998-12-16 15:12:11 -05:00
MASTER_SITES= see_do-fetch_target
EXTRACT_SUFX= .tar.Z
IS_INTERACTIVE= yes
1999-03-06 17:51:40 -05:00
WRKSRC= ${WRKDIR}/nfr-2.0.3-research/nfr
do-fetch:
@if [ ! -f ${DISTDIR}/${DISTFILES} ]; then \
${ECHO} "";\
${ECHO} " The source to this port may not be automatically fetched";\
1999-03-06 17:51:40 -05:00
${ECHO} " due to licensing restrictions. You must fetch the source";\
${ECHO} " manually after agreeing to the license terms at";\
${ECHO} "";\
${ECHO} " http://www.nfr.net/download/";\
${ECHO} "";\
1999-03-06 17:51:40 -05:00
${ECHO} " Once ${DISTFILES} has been downloaded,";\
${ECHO} " move it to ${DISTDIR} and restart this build.";\
${ECHO} "";\
exit 1;\
fi
pre-install:
1999-03-06 17:51:40 -05:00
mkdir -p ${PREFIX}/nfr/bin
@${CP} ${FILESDIR}/createuser ${PREFIX}/nfr/bin
post-install:
1999-03-06 17:51:40 -05:00
sh ${PKGDIR}/INSTALL nfr POST-INSTALL
pre-deinstall:
sh ${PKGDIR}/DEINSTALL
.include <bsd.port.mk>