1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-13 03:03:15 +00:00
freebsd-ports/chinese/bg5ps/Makefile
Cheng-Lung Sung a34cec1a62 - Respect DESTDIR
- portlint fix

PR:		ports/101903
Submitted by:	Gea-Suan Lin <gslin_AT_gslin dot org>
2006-08-14 05:31:57 +00:00

41 lines
1.2 KiB
Makefile

# New ports collection makefile for: bg5ps
# Date created: 17 June 1998
# Whom: Jing-Tang Keith Jang <keith@FreeBSD.org>
#
# $FreeBSD$
#
PORTNAME= bg5ps
PORTVERSION= 1.3.0p3
CATEGORIES= chinese print
MASTER_SITES= ftp://freebsd.sinica.edu.tw/pub/keith/
DISTNAME= bg5ps-1.3.0
MAINTAINER= ports@FreeBSD.org
COMMENT= Convert Chinese-Big5/GB encoded files to Postscript, using TTF fonts
USE_FREETYPE= yes
USE_PYTHON= yes
PKGMESSAGE= ${WRKDIR}/pkg-message
SUB_FILES= pkg-message
do-install:
${INSTALL_SCRIPT} ${WRKSRC}/bg5ps ${TARGETDIR}/bin
${INSTALL_PROGRAM} ${WRKSRC}/ttf2psm ${TARGETDIR}/bin
${INSTALL_DATA} ${WRKSRC}/bg5ps.conf ${TARGETDIR}/etc/bg5ps.conf.sample
${INSTALL_DATA} ${WRKSRC}/gb2312-bg5ps.conf ${TARGETDIR}/etc/gb2312-bg5ps.conf.sample
.if !defined(NOPORTDOCS)
@${MKDIR} ${DOCSDIR}
${CP} -R ${WRKSRC}/doc/* ${DOCSDIR}
.endif
@${MKDIR} ${EXAMPLESDIR}
${INSTALL_DATA} ${WRKSRC}/examples/netscape.ps ${EXAMPLESDIR}
${INSTALL_DATA} ${WRKSRC}/examples/test.big5 ${EXAMPLESDIR}
${INSTALL_DATA} ${WRKSRC}/examples/test.gb2312 ${EXAMPLESDIR}
${INSTALL_SCRIPT} ${WRKSRC}/examples/test.sh ${EXAMPLESDIR}
post-install:
@${CAT} ${PKGMESSAGE}
.include <bsd.port.mk>