aboutsummaryrefslogtreecommitdiff
path: root/cad
diff options
context:
space:
mode:
authorTilman Keskinoz <arved@FreeBSD.org>2003-04-30 23:00:35 +0000
committerTilman Keskinoz <arved@FreeBSD.org>2003-04-30 23:00:35 +0000
commit56fe5a383a503c98074a0ff0ce376423d3cd2e3d (patch)
tree5f92a1c03f286776d2b21f615a164b4c5e08a7cc /cad
parentd8fe181a7fa5fb958a25a0b43aba1cb60a4bcd60 (diff)
downloadports-56fe5a383a503c98074a0ff0ce376423d3cd2e3d.tar.gz
ports-56fe5a383a503c98074a0ff0ce376423d3cd2e3d.zip
Notes
Diffstat (limited to 'cad')
-rw-r--r--cad/leocad/Makefile21
-rw-r--r--cad/leocad/distinfo2
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