1998-07-04 16:52:53 -04:00
|
|
|
# OpenBSD makefile for: nfr
|
1999-03-06 17:51:40 -05:00
|
|
|
# Version required: 2.0.3-research
|
1998-07-04 16:52:53 -04:00
|
|
|
# Date created: 1998-Jul-4
|
|
|
|
# Whom: dugsong@OpenBSD.ORG
|
|
|
|
#
|
1999-03-27 12:06:25 -05:00
|
|
|
# $OpenBSD: Makefile,v 1.5 1999/03/27 17:06:25 niklas Exp $
|
1998-07-04 16:52:53 -04:00
|
|
|
|
1999-03-06 17:51:40 -05:00
|
|
|
DISTNAME= nfr-2.0.3-research-src
|
|
|
|
PKGNAME= nfr-2.0.3
|
1998-07-04 16:52:53 -04:00
|
|
|
CATEGORIES= net
|
|
|
|
|
|
|
|
MAINTAINER= dugsong@openbsd.org
|
|
|
|
|
|
|
|
NO_CDROM= "LIC: redistribution not allowed"
|
1998-12-16 15:12:11 -05:00
|
|
|
MIRROR_DISTFILE= no
|
1998-07-04 16:52:53 -04:00
|
|
|
|
1998-12-16 15:12:11 -05:00
|
|
|
MASTER_SITES= see_do-fetch_target
|
1998-07-04 16:52:53 -04:00
|
|
|
EXTRACT_SUFX= .tar.Z
|
|
|
|
|
|
|
|
IS_INTERACTIVE= yes
|
|
|
|
|
1999-03-06 17:51:40 -05:00
|
|
|
WRKSRC= ${WRKDIR}/nfr-2.0.3-research/nfr
|
1998-07-04 16:52:53 -04:00
|
|
|
|
1998-09-14 13:44:21 -04:00
|
|
|
do-fetch:
|
|
|
|
@if [ ! -f ${DISTDIR}/${DISTFILES} ]; then \
|
1998-07-04 16:52:53 -04:00
|
|
|
${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";\
|
1998-07-04 16:52:53 -04:00
|
|
|
${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.";\
|
1998-07-04 16:52:53 -04:00
|
|
|
${ECHO} "";\
|
1998-09-14 13:44:21 -04:00
|
|
|
exit 1;\
|
1998-07-04 16:52:53 -04:00
|
|
|
fi
|
|
|
|
|
|
|
|
pre-install:
|
1999-03-06 17:51:40 -05:00
|
|
|
mkdir -p ${PREFIX}/nfr/bin
|
|
|
|
@${CP} ${FILESDIR}/createuser ${PREFIX}/nfr/bin
|
1998-07-04 16:52:53 -04:00
|
|
|
|
|
|
|
post-install:
|
1999-03-27 12:06:25 -05:00
|
|
|
PREFIX=${PREFIX} sh ${PKGDIR}/INSTALL nfr POST-INSTALL
|
1999-03-06 17:51:40 -05:00
|
|
|
|
|
|
|
pre-deinstall:
|
|
|
|
sh ${PKGDIR}/DEINSTALL
|
1998-07-04 16:52:53 -04:00
|
|
|
|
|
|
|
.include <bsd.port.mk>
|