freebsd-ports/cad/gdt/Makefile
Baptiste Daroussin 4a4ec28d37 Convert all :U to :tu and :L to :tl
Since FreeBSD 8.4 and FreeBSD 9.1 make(1) do support :tu and :tl as a
replacement for :U and :L (which has been marked as deprecated)

bmake which is the default on FreeBSD 10+ only support by default
:tu/:tl a hack has been added at the time to support :U and :L to ease
migration. This hack is now not necessary anymore

Note that this makes the ports tree incompatible with make(1) from
FreeBSD 8.3 or earlier

With hat:	portmgr
2014-05-05 09:45:36 +00:00

34 lines
741 B
Makefile

# $FreeBSD$
PORTNAME= gdt
PORTVERSION= 4.0
CATEGORIES= cad
MASTER_SITES= SF/gds2/gds2/
DISTNAME= ${PORTNAME:tu}-${PORTVERSION}
MAINTAINER= hrs@FreeBSD.org
COMMENT= GDS2/GDT format translator
LICENSE= GPLv2
USES= shebangfix perl5
USE_PERL5= run
SHEBANG_FILES= Examples/gdsinfo Examples/scalegds
WRKSRC= ${WRKDIR}/${PORTNAME:tu}-${PORTVERSION}
PLIST_FILES= bin/gdsinfo bin/gds2gdt bin/gdt2gds bin/scalegds
NO_STAGE= yes
post-patch:
${REINPLACE_CMD} -e 's,%%PREFIX%%,${PREFIX},' \
${WRKSRC}/Examples/gdsinfo ${WRKSRC}/Examples/scalegds
pre-build:
${INSTALL_DATA} ${FILESDIR}/Makefile ${WRKSRC}
post-install:
${INSTALL_SCRIPT} \
${WRKSRC}/Examples/gdsinfo \
${WRKSRC}/Examples/scalegds \
${PREFIX}/bin
.include <bsd.port.mk>