freebsd-ports/chinese/bg5pdf/Makefile
Mark Linimon 8cf8875aef Reset bouncing maintainer address. These ports are now available for
adoption.

Note that I have left the maintainer's own ftp site as a MASTERSITE
because it still appears to be active (for now, anyways).

Hat:	portmgr
2005-07-25 21:58:10 +00:00

38 lines
1,017 B
Makefile

# New ports collection makefile for: bg5pdf
# Date created: 17 June 1998
# Whom: Shen Chuan-Hsing
#
# $FreeBSD$
#
PORTNAME= bg5pdf
PORTVERSION= 1.0.0
PORTREVISION= 4
CATEGORIES= chinese print
MASTER_SITES= http://cschin.yydolphin.net/bg5pdf/ \
ftp://freebsd.sinica.edu.tw/pub/statue/bg5pdf/
MAINTAINER= ports@FreeBSD.org
COMMENT= Convert Chinese-Big5 encoded files to PDF, using PDFlib
LIB_DEPENDS= pdf.7:${PORTSDIR}/print/pdflib
USE_PYTHON= yes
WRKSRC= ${WRKDIR}/${PORTNAME}
USE_REINPLACE= yes
CFLAGS+= -fPIC
post-patch:
${REINPLACE_CMD} -e 's,%%PYTHON_INCLUDEDIR%%,${PYTHON_INCLUDEDIR},g' \
${WRKSRC}/Makefile
do-install:
@${MKDIR} ${EXAMPLESDIR}
${INSTALL_SCRIPT} ${WRKSRC}/bg5pdf ${PREFIX}/bin
${INSTALL_SCRIPT} ${WRKSRC}/gbpdf ${PREFIX}/bin
${INSTALL_PROGRAM} ${WRKSRC}/bg5pdflib.so ${PYTHON_SITELIBDIR}
${INSTALL_DATA} ${WRKSRC}/test.big5 ${EXAMPLESDIR}
${INSTALL_DATA} ${WRKSRC}/test.big5.pdf ${EXAMPLESDIR}
${INSTALL_SCRIPT} ${WRKSRC}/genTest.py ${EXAMPLESDIR}
.include <bsd.port.mk>