2000-02-13 01:57:46 +00:00
|
|
|
# New ports collection makefile for: newt
|
|
|
|
# Date created: 08 Jan 2000
|
|
|
|
# Whom: Will Andrews <andrews@technologist.com>
|
|
|
|
#
|
|
|
|
# $FreeBSD$
|
|
|
|
#
|
|
|
|
|
2000-04-11 21:30:15 +00:00
|
|
|
PORTNAME= newt
|
|
|
|
PORTVERSION= 0.50.13
|
2000-02-13 01:57:46 +00:00
|
|
|
CATEGORIES= devel
|
|
|
|
MASTER_SITES= \
|
|
|
|
ftp://ftp.cdrom.com/pub/linux/redhat/redhat-6.1/SRPMS/SRPMS/ \
|
|
|
|
ftp://ftp.redhat.com/pub/redhat/redhat-6.1/SRPMS/SRPMS/ \
|
|
|
|
ftp://ftp.infomagic.com/pub/mirrors/linux/RedHat/redhat-6.1/SRPMS/SRPMS/
|
2000-04-11 21:30:15 +00:00
|
|
|
DISTNAME= ${PORTNAME}-0.50-13
|
2000-02-13 01:57:46 +00:00
|
|
|
EXTRACT_SUFX= .src.rpm
|
|
|
|
|
2000-03-22 01:59:41 +00:00
|
|
|
MAINTAINER= will@FreeBSD.org
|
2000-02-13 01:57:46 +00:00
|
|
|
|
2000-04-24 15:50:30 +00:00
|
|
|
LIB_DEPENDS= slang.1:${PORTSDIR}/devel/libslang \
|
|
|
|
popt.0:${PORTSDIR}/devel/popt
|
2000-02-13 01:57:46 +00:00
|
|
|
BUILD_DEPENDS= rpm2cpio:${PORTSDIR}/misc/rpm \
|
2000-04-24 15:50:30 +00:00
|
|
|
python:${PORTSDIR}/lang/python
|
2000-02-13 01:57:46 +00:00
|
|
|
|
|
|
|
USE_GMAKE= yes
|
|
|
|
GNU_CONFIGURE= yes
|
|
|
|
WRKSRC= ${WRKDIR}/newt-0.50
|
|
|
|
VERSION= 0
|
|
|
|
MAKE_ENV+= prefix=${PREFIX} VERSION=${VERSION} CC=${CC} PCFLAGS="${CFLAGS}"
|
|
|
|
PLIST_SUB+= VERSION="${VERSION}"
|
|
|
|
CPIO?= /usr/bin/cpio
|
|
|
|
|
|
|
|
do-extract:
|
|
|
|
@${RM} -rf ${WRKDIR}
|
|
|
|
@${MKDIR} ${WRKDIR}
|
|
|
|
@${LOCALBASE}/bin/rpm2cpio ${_DISTDIR}${DISTFILES} | (cd ${WRKDIR};${CPIO} -i)
|
|
|
|
@${TAR} xfz ${WRKSRC}.tar.gz -C ${WRKDIR}
|
|
|
|
|
|
|
|
.include <bsd.port.mk>
|