mirror of
https://git.FreeBSD.org/ports.git
synced 2024-11-28 01:06:17 +00:00
4a4ec28d37
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
39 lines
1018 B
Makefile
39 lines
1018 B
Makefile
# Created by: Anton Berezin <tobez@plab.ku.dk>
|
|
# $FreeBSD$
|
|
|
|
PORTNAME= Cgraph
|
|
PORTVERSION= 2.04
|
|
PORTREVISION= 2
|
|
CATEGORIES= graphics
|
|
MASTER_SITES= http://www.tobez.org/download/port-mirrors/graphics/Cgraph/
|
|
DISTNAME= ${PORTNAME}${PORTVERSION}
|
|
|
|
MAINTAINER= tobez@FreeBSD.org
|
|
COMMENT= A PostScript plotting library in C
|
|
|
|
WRKSRC= ${WRKDIR}/Cgraph/source
|
|
DOCSDIR= ${PREFIX}/share/doc/${PORTNAME:tl}
|
|
EXAMPLESDIR= ${PREFIX}/share/examples/${PORTNAME:tl}
|
|
|
|
USE_LDCONFIG= yes
|
|
|
|
NO_STAGE= yes
|
|
post-extract:
|
|
@${CP} ${FILESDIR}/Makefile.lib ${WRKSRC}/Makefile
|
|
|
|
post-install:
|
|
.if !defined(NOPORTDOCS)
|
|
@${MKDIR} ${DOCSDIR}
|
|
@${INSTALL_DATA} ${WRKSRC}/../docs/cgraph.ps ${DOCSDIR}
|
|
.endif
|
|
.if !defined(NOPORTEXAMPLES)
|
|
@${MKDIR} ${EXAMPLESDIR}
|
|
@${INSTALL_DATA} ${WRKSRC}/../examples/minimal/CGminimal.c \
|
|
${WRKSRC}/../examples/dash/dashlist.c \
|
|
${WRKSRC}/../examples/marker/markerlist.c \
|
|
${WRKSRC}/../examples/loglog/TFopt-lrLog.c \
|
|
${WRKSRC}/../examples/loglog/TFampspect.dat ${EXAMPLESDIR}
|
|
.endif
|
|
|
|
.include <bsd.port.mk>
|