aboutsummaryrefslogtreecommitdiffstats
path: root/devel/newt
diff options
context:
space:
mode:
authorperky <perky@FreeBSD.org>2002-07-15 13:23:13 +0800
committerperky <perky@FreeBSD.org>2002-07-15 13:23:13 +0800
commitd4910cac885afab164fc7436cc5b362f502a580d (patch)
tree40a2ce7788328ebb28becb63d53ffffce0fc0c53 /devel/newt
parent113c14cfcba28f0c3eb45f13bf130601bf4d2c59 (diff)
downloadfreebsd-ports-gnome-d4910cac885afab164fc7436cc5b362f502a580d.tar.gz
freebsd-ports-gnome-d4910cac885afab164fc7436cc5b362f502a580d.tar.zst
freebsd-ports-gnome-d4910cac885afab164fc7436cc5b362f502a580d.zip
o Update to 0.50.39
o Change major number from 0.50 to 50 (ldconfig couldn't detect libnewt.so.0.50) o Use .tar.gz on our localdist site instead of RH's one. RH don't keep old versions on the same directory and updates are so frequent.
Diffstat (limited to 'devel/newt')
-rw-r--r--devel/newt/Makefile24
-rw-r--r--devel/newt/distinfo2
2 files changed, 6 insertions, 20 deletions
diff --git a/devel/newt/Makefile b/devel/newt/Makefile
index 7e2b195355fe..8f332f94c660 100644
--- a/devel/newt/Makefile
+++ b/devel/newt/Makefile
@@ -6,29 +6,21 @@
#
PORTNAME= newt
-PORTVERSION= ${RPMVERSION}.${RPMREVISION}
+PORTVERSION= 0.50.39
CATEGORIES= devel
-MASTER_SITES= http://www.silug.org/%SUBDIR%/ \
- ftp://ftp.redhat.com/%SUBDIR%/ \
- http://ftp.dulug.duke.edu/%SUBDIR%/
-MASTER_SITE_SUBDIR= pub/redhat/linux/rawhide/SRPMS/SRPMS
-DISTNAME= ${PORTNAME}-${RPMVERSION}-${RPMREVISION}
-EXTRACT_SUFX= .src.rpm
+MASTER_SITES= ${MASTER_SITE_LOCAL} \
+ # ftp://ftp.redhat.com/pub/redhat/linux/rawhide/SRPMS/SRPMS/
+MASTER_SITE_SUBDIR= perky
PKGNAMESUFFIX= ${PYTHONSUFFIX}${TCLSUFFIX}
MAINTAINER= perky@FreeBSD.org
-BUILD_DEPENDS= rpm2cpio:${PORTSDIR}/archivers/rpm
LIB_DEPENDS= slang.1:${PORTSDIR}/devel/libslang \
popt.0:${PORTSDIR}/devel/popt
-RPMVERSION= 0.50.36
-RPMREVISION= 1
-WRKSRC= ${WRKDIR}/newt-${RPMVERSION}
-
GNU_CONFIGURE= yes
INSTALLS_SHLIB= yes
-VERSION= 0.50
+VERSION= 50
TCL_VERSION?= tcl8.3
TCL_NODOT= ${TCL_VERSION:S/.//}
MAKE_ENV+= VERSION=${VERSION} CC=${CC} PCFLAGS="${CFLAGS}" TCLVERSION="${TCL_VERSION}"
@@ -54,12 +46,6 @@ PLIST_SUB+= TCLOPT=""
PLIST_SUB+= TCLOPT="@comment "
.endif
-do-extract:
- @${RM} -rf ${WRKDIR}
- @${MKDIR} ${WRKDIR}
- @${LOCALBASE}/bin/rpm2cpio ${_DISTDIR}${DISTFILES} | (cd ${WRKDIR};${CPIO} -i)
- @${TAR} xfz ${WRKSRC}.tar.gz -C ${WRKDIR}
-
.if !defined(WITHOUT_PYTHON)
post-build:
@cd ${WRKSRC} && ${MAKE_ENV} ${PYTHON_CMD} ${FILESDIR}/setup.py build
diff --git a/devel/newt/distinfo b/devel/newt/distinfo
index d7225bb8bf02..bd7398ae7b70 100644
--- a/devel/newt/distinfo
+++ b/devel/newt/distinfo
@@ -1 +1 @@
-MD5 (newt-0.50.36-1.src.rpm) = 331c6d0d6598c97159d824921d25fbba
+MD5 (newt-0.50.39.tar.gz) = d21566d8b226ff25906f8ec00833455a