mirror of
https://git.FreeBSD.org/ports.git
synced 2025-01-23 09:10:43 +00:00
3e4ed01146
- Remove USE_XLIB/USE_X_PREFIX/USE_XPM in favor of USE_XORG - Remove X11BASE support in favor of LOCALBASE or PREFIX - Use USE_LDCONFIG instead of INSTALLS_SHLIB - Remove unneeded USE_GCC 3.4+ Thanks to all Helpers: Dmitry Marakasov, Chess Griffin, beech@, dinoex, rafan, gahr, ehaupt, nox, itetcu, flz, pav PR: 116263 Tested on: pointyhat Approved by: portmgr (pav)
44 lines
1.1 KiB
Makefile
44 lines
1.1 KiB
Makefile
# New ports collection makefile for: gl2ps
|
|
# Date created: 31 Jan 2004
|
|
# Whom: Igor Pokrovsky <tiamat@comset.net>
|
|
#
|
|
# $FreeBSD$
|
|
#
|
|
|
|
PORTNAME= gl2ps
|
|
PORTVERSION= 1.3.2
|
|
PORTREVISION= 2
|
|
CATEGORIES= print graphics
|
|
MASTER_SITES= http://www.geuz.org/gl2ps/src/
|
|
EXTRACT_SUFX= .tgz
|
|
|
|
MAINTAINER= araujo@FreeBSD.org
|
|
COMMENT= A C library providing vector output for OpenGL application
|
|
|
|
USE_GL= yes
|
|
USE_LDCONFIG= yes
|
|
|
|
pre-build:
|
|
@${CP} ${FILESDIR}/Makefile.lib ${WRKSRC}/Makefile
|
|
|
|
do-install:
|
|
${INSTALL_PROGRAM} ${WRKSRC}/libgl2ps.so ${PREFIX}/lib
|
|
${INSTALL_DATA} ${WRKSRC}/libgl2ps.a ${PREFIX}/lib
|
|
${INSTALL_DATA} ${WRKSRC}/gl2ps.h ${PREFIX}/include
|
|
|
|
@${MKDIR} ${EXAMPLESDIR}
|
|
${INSTALL_DATA} ${WRKSRC}/gl2psTest.c ${EXAMPLESDIR}
|
|
${INSTALL_DATA} ${WRKSRC}/gl2psTestSimple.c ${EXAMPLESDIR}
|
|
@${SED} -e 's|%%CC%%|${CC}|g; \
|
|
s|%%RM%%|${RM}|g; \
|
|
s|%%CFLAGS%%|${CFLAGS}|g; \
|
|
s|%%LOCALBASE%%|${LOCALBASE}|g' \
|
|
<${FILESDIR}/Makefile.ex >${EXAMPLESDIR}/Makefile
|
|
|
|
.ifndef (NOPORTDOCS)
|
|
@${MKDIR} ${DOCSDIR}
|
|
${INSTALL_DATA} ${WRKSRC}/gl2ps.pdf ${DOCSDIR}
|
|
.endif
|
|
|
|
.include <bsd.port.mk>
|