freebsd-ports/graphics/tcm/Makefile
Erwin Lansing 50513d5d52 Add support for DESTDIR part I.
This commit should largele be a NOOP as it only adds support
for DESTDIR undefined. This does allow us to start testing
ports with DESTDIR set, but this is as of yet not supported.

Although this has been extensively tested on pointyhat, this
is a very intrusive change and some cases may have been
overlooked. Please contact Gabor and me if you find any.

PR:             100555
Submitted by:   gabor
Sponsored by:   Google Summer of Code 2006
2006-08-04 12:34:50 +00:00

49 lines
1.2 KiB
Makefile

# New ports collection makefile for: tcm
# Date created: 18 July 2001
# Whom: Anders Nordby <anders@fix.no>
#
# $FreeBSD$
#
PORTNAME= tcm
PORTVERSION= 2.20
PORTREVISION= 2
CATEGORIES= graphics
MASTER_SITES= ftp://ftp.cs.utwente.nl/pub/tcm/ \
ftp://ftp.cs.vu.nl/pub/tcm/
PATCHFILES= patch-tcm-64bit
PATCH_SITES= ${MASTER_SITE_LOCAL}
PATCH_SITE_SUBDIR= lawrance
DISTNAME= ${PORTNAME}-${PORTVERSION}.src
MAINTAINER= ports@FreeBSD.org
COMMENT= The Toolkit for Conceptual Modeling, create diagrams/tables/trees
RUN_DEPENDS= fig2dev:${PORTSDIR}/print/transfig
WRKSRC= ${WRKDIR}/${PORTNAME}-${PORTVERSION}
PKGMESSAGE= ${WRKSRC}/pkg-message
USE_MOTIF= yes
USE_BISON= yes
USE_GMAKE= yes
MANPREFIX= ${TARGETDIR}/tcm
MAN1= psf.1 tatd.1 tcbd.1 tcm.1 tcmd.1 tcmdv.1 tcmt.1 tcpd.1 tcrd.1 \
tdfd.1 tdpd.1 tefd.1 terd.1 tesd.1 text2ps.1 tfet.1 tfrt.1 \
tgd.1 tgt.1 tgtt.1 tpsd.1 trpg.1 tscd.1 tsnd.1 tssd.1 tstd.1 \
ttdt.1 ttut.1 tucd.1
post-patch:
@${RM} ${WRKSRC}/man/windex
@${CHMOD} 0644 ${WRKSRC}/lib/colorrgb.txt
@${REINPLACE_CMD} -e 's:gcc:g++:g' ${WRKSRC}/bin/makedepend.sh
post-build:
@${CP} pkg-message ${PKGMESSAGE}
@${REINPLACE_CMD} -e 's:%%LOCALBASE%%:${PREFIX}:g' ${PKGMESSAGE}
post-install:
@${CAT} ${PKGMESSAGE}
.include <bsd.port.mk>