2004-01-31 13:40:44 +00:00
|
|
|
# New ports collection makefile for: gl2ps
|
|
|
|
# Date created: 31 Jan 2004
|
|
|
|
# Whom: Igor Pokrovsky <tiamat@comset.net>
|
|
|
|
#
|
|
|
|
# $FreeBSD$
|
|
|
|
#
|
|
|
|
|
|
|
|
PORTNAME= gl2ps
|
2007-01-17 16:53:56 +00:00
|
|
|
PORTVERSION= 1.3.2
|
2008-03-23 11:11:33 +00:00
|
|
|
PORTREVISION= 2
|
2004-01-31 13:40:44 +00:00
|
|
|
CATEGORIES= print graphics
|
|
|
|
MASTER_SITES= http://www.geuz.org/gl2ps/src/
|
2004-12-20 11:56:23 +00:00
|
|
|
EXTRACT_SUFX= .tgz
|
2004-01-31 13:40:44 +00:00
|
|
|
|
2007-06-29 16:29:19 +00:00
|
|
|
MAINTAINER= araujo@FreeBSD.org
|
2004-01-31 13:40:44 +00:00
|
|
|
COMMENT= A C library providing vector output for OpenGL application
|
|
|
|
|
|
|
|
USE_GL= yes
|
2006-08-15 00:56:24 +00:00
|
|
|
USE_LDCONFIG= yes
|
2004-01-31 13:40:44 +00:00
|
|
|
|
|
|
|
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}
|
2005-09-03 16:49:47 +00:00
|
|
|
${INSTALL_DATA} ${WRKSRC}/gl2psTestSimple.c ${EXAMPLESDIR}
|
2004-12-03 08:20:49 +00:00
|
|
|
@${SED} -e 's|%%CC%%|${CC}|g; \
|
|
|
|
s|%%RM%%|${RM}|g; \
|
|
|
|
s|%%CFLAGS%%|${CFLAGS}|g; \
|
- Remove unneeded dependency from gtk12/gtk20 [1]
- 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)
2008-04-19 17:56:05 +00:00
|
|
|
s|%%LOCALBASE%%|${LOCALBASE}|g' \
|
2004-01-31 13:40:44 +00:00
|
|
|
<${FILESDIR}/Makefile.ex >${EXAMPLESDIR}/Makefile
|
|
|
|
|
|
|
|
.ifndef (NOPORTDOCS)
|
|
|
|
@${MKDIR} ${DOCSDIR}
|
2004-12-20 11:56:23 +00:00
|
|
|
${INSTALL_DATA} ${WRKSRC}/gl2ps.pdf ${DOCSDIR}
|
2004-01-31 13:40:44 +00:00
|
|
|
.endif
|
|
|
|
|
|
|
|
.include <bsd.port.mk>
|