diff options
author | arved <arved@FreeBSD.org> | 2003-05-01 07:00:35 +0800 |
---|---|---|
committer | arved <arved@FreeBSD.org> | 2003-05-01 07:00:35 +0800 |
commit | 42e181a4b24cf8c5829097d78164b34a40d97a93 (patch) | |
tree | e3660250c5da18e4707eeb6154e09fd65663ed36 /cad/leocad | |
parent | 950512b80f44a41289b3021d1ae279414466d69e (diff) | |
download | freebsd-ports-gnome-42e181a4b24cf8c5829097d78164b34a40d97a93.tar.gz freebsd-ports-gnome-42e181a4b24cf8c5829097d78164b34a40d97a93.tar.zst freebsd-ports-gnome-42e181a4b24cf8c5829097d78164b34a40d97a93.zip |
Use a versioned distfile
PERL -> REINPLACE_CMD
PR: 50233
Submitted by: David Yeske <dyeske@yahoo.com>
Diffstat (limited to 'cad/leocad')
-rw-r--r-- | cad/leocad/Makefile | 21 | ||||
-rw-r--r-- | cad/leocad/distinfo | 2 |
2 files changed, 13 insertions, 10 deletions
diff --git a/cad/leocad/Makefile b/cad/leocad/Makefile index 8f2b5542d7ac..181e14e6f815 100644 --- a/cad/leocad/Makefile +++ b/cad/leocad/Makefile @@ -8,9 +8,9 @@ PORTNAME= leocad PORTVERSION= 0.73 CATEGORIES= cad -MASTER_SITES= http://www.leocad.org/files/ \ - http://people.freebsd.org/~scottl/ -DISTFILES= leocad-${PORTVERSION:S/.p/pre/}.tgz pieces.zip +MASTER_SITES= ${MASTER_SITE_LOCAL} +MASTER_SITE_SUBDIR= arved +DISTFILES= leocad-${PORTVERSION:S/.p/pre/}.tgz leocad-pieces-20030330.zip EXTRACT_ONLY= leocad-${PORTVERSION:S/.p/pre/}.tgz MAINTAINER= dyeske@yahoo.com @@ -20,20 +20,23 @@ BUILD_DEPENDS= unzip:${PORTSDIR}/archivers/unzip LIB_DEPENDS= jpeg.9:${PORTSDIR}/graphics/jpeg \ png.5:${PORTSDIR}/graphics/png +USE_X_PREFIX= yes +USE_MESA= yes USE_GMAKE= yes USE_GNOME= gtk12 -USE_MESA= yes -USE_X_PREFIX= yes +USE_REINPLACE= yes MAKE_ENV+= CXX=${CXX} post-extract: - @unzip -q -o ${DISTDIR}/pieces.zip -d ${WRKDIR}/pieces + @unzip -q -o ${DISTDIR}/leocad-pieces-20030330.zip -d ${WRKDIR}/pieces post-patch: - @${PERL} -pi -e 's,%%LOCALBASE%%,${LOCALBASE},g; \ - s,%%PTHREAD_CFLAGS%%,${PTHREAD_CFLAGS},; \ - s,%%PTHREAD_LIBS%%,${PTHREAD_LIBS},' ${WRKSRC}/config.mk + @${REINPLACE_CMD} -e \ + 's|%%LOCALBASE%%|${LOCALBASE}|g; \ + s|%%PTHREAD_CFLAGS%%|${PTHREAD_CFLAGS}|; \ + s|%%PTHREAD_LIBS%%|${PTHREAD_LIBS}|' \ + ${WRKSRC}/config.mk do-install: ${INSTALL_PROGRAM} ${WRKSRC}/bin/leocad ${PREFIX}/bin diff --git a/cad/leocad/distinfo b/cad/leocad/distinfo index 0a42f4f97cc6..9f876590f87a 100644 --- a/cad/leocad/distinfo +++ b/cad/leocad/distinfo @@ -1,2 +1,2 @@ MD5 (leocad-0.73.tgz) = 7bce5fc75817f83bf2c789e2ef8d95ec -MD5 (pieces.zip) = f3f0cbe8ed606f22c1e40a20b75b3cf5 +MD5 (leocad-pieces-20030330.zip) = f3f0cbe8ed606f22c1e40a20b75b3cf5 |