1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-10-27 21:29:02 +00:00
freebsd-ports/graphics/Cgraph/Makefile
2000-04-13 06:28:28 +00:00

37 lines
1.1 KiB
Makefile

# New ports collection makefile for: cgraph
# Date created: 25 September 1998
# Whom: Anton Berezin <tobez@plab.ku.dk>
#
# $FreeBSD$
#
PORTNAME= Cgraph
PORTVERSION= 2.04
CATEGORIES= graphics
MASTER_SITES= http://totoro.berkeley.edu/software/
DISTNAME= ${PORTNAME}${PORTVERSION}
MAINTAINER= tobez@plab.ku.dk
WRKSRC= ${WRKDIR}/Cgraph/source
post-extract:
@${CP} ${FILESDIR}/Makefile.lib ${WRKSRC}/Makefile
post-install:
.if !defined(NOPORTDOCS)
@${MKDIR} ${PREFIX}/share/doc/cgraph
@${INSTALL_DATA} ${WRKSRC}/../docs/cgraph.ps ${PREFIX}/share/doc/cgraph
.endif
.if !defined(NOPORTEXAMPLES)
@${MKDIR} ${PREFIX}/share/examples/cgraph
@${INSTALL_DATA} ${WRKSRC}/../examples/minimal/CGminimal.c ${PREFIX}/share/examples/cgraph
@${INSTALL_DATA} ${WRKSRC}/../examples/dash/dashlist.c ${PREFIX}/share/examples/cgraph
@${INSTALL_DATA} ${WRKSRC}/../examples/marker/markerlist.c ${PREFIX}/share/examples/cgraph
@${INSTALL_DATA} ${WRKSRC}/../examples/loglog/TFopt-lrLog.c ${PREFIX}/share/examples/cgraph
@${INSTALL_DATA} ${WRKSRC}/../examples/loglog/TFampspect.dat ${PREFIX}/share/examples/cgraph
.endif
@${LDCONFIG} -m ${PREFIX}/lib
.include <bsd.port.mk>