1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-25 00:51:21 +00:00
freebsd-ports/print/gl2ps/Makefile
Jimmy Olgeni fa3a17c064 Remove indefinite articles and trailing periods from COMMENT, plus
minor COMMENT typos and surrounding whitespace fixes. A few Makefiles
where not included as they contain Latin-1 characters that break
the Phabricator workflow. Categories P-S.

CR:		D422
Approved by:	portmgr (bapt)
2014-07-17 08:57:51 +00:00

42 lines
1.2 KiB
Makefile

# Created by: Igor Pokrovsky <tiamat@comset.net>
# $FreeBSD$
PORTNAME= gl2ps
PORTVERSION= 1.3.8
CATEGORIES= print graphics
MASTER_SITES= http://www.geuz.org/gl2ps/src/
EXTRACT_SUFX= .tgz
MAINTAINER= araujo@FreeBSD.org
COMMENT= C library providing vector output for OpenGL application
USE_GL= yes
USE_XORG= x11 xmu xi
USE_LDCONFIG= yes
WRKSRC= ${WRKDIR}/${PORTNAME}-${PORTVERSION}-source
OPTIONS_DEFINE= DOCS
pre-build:
@${CP} ${FILESDIR}/Makefile.lib ${WRKSRC}/Makefile
do-install:
${INSTALL_PROGRAM} ${WRKSRC}/libgl2ps.so ${STAGEDIR}${PREFIX}/lib
${LN} -s {PREFIX}/lib/libgl2ps.so ${STAGEDIR}${PREFIX}/lib/libgl2ps.so.1
${INSTALL_DATA} ${WRKSRC}/libgl2ps.a ${STAGEDIR}${PREFIX}/lib
${INSTALL_DATA} ${WRKSRC}/gl2ps.h ${STAGEDIR}${PREFIX}/include
@${MKDIR} ${STAGEDIR}${EXAMPLESDIR}
${INSTALL_DATA} ${WRKSRC}/gl2psTest.c ${STAGEDIR}${EXAMPLESDIR}
${INSTALL_DATA} ${WRKSRC}/gl2psTestSimple.c ${STAGEDIR}${EXAMPLESDIR}
@${SED} -e 's|%%CC%%|${CC}|g; \
s|%%RM%%|${RM}|g; \
s|%%CFLAGS%%|${CFLAGS}|g; \
s|%%LOCALBASE%%|${LOCALBASE}|g' \
<${FILESDIR}/Makefile.ex >${STAGEDIR}${EXAMPLESDIR}/Makefile
@${MKDIR} ${STAGEDIR}${DOCSDIR}
${INSTALL_DATA} ${WRKSRC}/gl2ps.pdf ${STAGEDIR}${DOCSDIR}
.include <bsd.port.mk>