summaryrefslogtreecommitdiff
path: root/cad/gdt/Makefile
diff options
context:
space:
mode:
authorHiroki Sato <hrs@FreeBSD.org>2008-01-06 09:55:14 +0000
committerHiroki Sato <hrs@FreeBSD.org>2008-01-06 09:55:14 +0000
commit50687327e1a71b6578e717b9115a39d11d65728d (patch)
treef3162f927350572364a7ba8b7edef442ebb13536 /cad/gdt/Makefile
parent- Update to 0.21. (diff)
Update to 2.0.3.
Notes
Notes: svn path=/head/; revision=205096
Diffstat (limited to 'cad/gdt/Makefile')
-rw-r--r--cad/gdt/Makefile8
1 files changed, 6 insertions, 2 deletions
diff --git a/cad/gdt/Makefile b/cad/gdt/Makefile
index dfaef48f87fc..d1c2c87a4e34 100644
--- a/cad/gdt/Makefile
+++ b/cad/gdt/Makefile
@@ -6,11 +6,11 @@
#
PORTNAME= gdt
-PORTVERSION= 1.0.1
+PORTVERSION= 2.0.3
CATEGORIES= cad
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE}
MASTER_SITE_SUBDIR= gds2
-DISTNAME= ${PORTNAME:U}_${PORTVERSION}
+DISTNAME= ${PORTNAME:U}-${PORTVERSION}
MAINTAINER= hrs@FreeBSD.org
COMMENT= GDS2/GDT format translator
@@ -19,6 +19,10 @@ USE_PERL5_RUN= yes
WRKSRC= ${WRKDIR}/${PORTNAME:U}-${PORTVERSION}
PLIST_FILES= bin/gdsinfo bin/gds2gdt bin/gdt2gds
+post-patch:
+ ${REINPLACE_CMD} 's,^#!/usr/bin/perl,#!${PERL},' \
+ ${WRKSRC}/Examples/gdsinfo
+
pre-build:
${CP} ${FILESDIR}/Makefile ${WRKSRC}