head	1.23;
access;
symbols
	RELEASE_8_3_0:1.22
	RELEASE_9_0_0:1.21
	RELEASE_7_4_0:1.21
	RELEASE_8_2_0:1.21
	RELEASE_6_EOL:1.21
	RELEASE_8_1_0:1.21
	RELEASE_7_3_0:1.21
	RELEASE_8_0_0:1.21
	RELEASE_7_2_0:1.20
	RELEASE_7_1_0:1.20
	RELEASE_6_4_0:1.20
	RELEASE_5_EOL:1.20
	RELEASE_7_0_0:1.20
	RELEASE_6_3_0:1.20
	PRE_XORG_7:1.19
	RELEASE_4_EOL:1.19
	RELEASE_6_2_0:1.18
	RELEASE_6_1_0:1.15
	RELEASE_5_5_0:1.15
	RELEASE_6_0_0:1.15
	RELEASE_5_4_0:1.14
	RELEASE_4_11_0:1.13
	RELEASE_5_3_0:1.13
	RELEASE_4_10_0:1.12
	RELEASE_5_2_1:1.10
	RELEASE_5_2_0:1.10
	RELEASE_4_9_0:1.7
	RELEASE_5_1_0:1.7
	RELEASE_4_8_0:1.6
	RELEASE_5_0_0:1.5
	RELEASE_4_7_0:1.5
	RELEASE_4_6_2:1.4
	RELEASE_4_6_1:1.4
	RELEASE_4_6_0:1.4
	RELEASE_5_0_DP1:1.3
	RELEASE_4_5_0:1.1;
locks; strict;
comment	@# @;


1.23
date	2012.11.17.05.54.55;	author svnexp;	state Exp;
branches;
next	1.22;

1.22
date	2012.01.10.11.41.36;	author ale;	state Exp;
branches;
next	1.21;

1.21
date	2009.08.28.17.36.43;	author linimon;	state Exp;
branches;
next	1.20;

1.20
date	2007.08.04.11.40.41;	author gabor;	state Exp;
branches;
next	1.19;

1.19
date	2006.12.03.07.16.55;	author rafan;	state Exp;
branches;
next	1.18;

1.18
date	2006.10.09.08.18.34;	author ale;	state Exp;
branches;
next	1.17;

1.17
date	2006.08.14.05.31.18;	author clsung;	state Exp;
branches;
next	1.16;

1.16
date	2006.05.03.23.38.30;	author edwin;	state Exp;
branches;
next	1.15;

1.15
date	2005.07.25.21.58.04;	author linimon;	state Exp;
branches;
next	1.14;

1.14
date	2005.01.08.15.50.00;	author sem;	state Exp;
branches;
next	1.13;

1.13
date	2004.06.25.11.24.25;	author ale;	state Exp;
branches;
next	1.12;

1.12
date	2004.04.10.17.26.29;	author trevor;	state Exp;
branches;
next	1.11;

1.11
date	2004.01.31.01.06.52;	author arved;	state Exp;
branches;
next	1.10;

1.10
date	2003.11.21.03.09.40;	author linimon;	state Exp;
branches;
next	1.9;

1.9
date	2003.11.09.14.18.38;	author vanilla;	state Exp;
branches;
next	1.8;

1.8
date	2003.11.08.12.10.25;	author oliver;	state Exp;
branches;
next	1.7;

1.7
date	2003.04.14.06.20.04;	author edwin;	state Exp;
branches;
next	1.6;

1.6
date	2003.02.21.11.06.26;	author knu;	state Exp;
branches;
next	1.5;

1.5
date	2002.07.04.18.34.31;	author ijliao;	state Exp;
branches;
next	1.4;

1.4
date	2002.04.25.03.38.27;	author ijliao;	state Exp;
branches;
next	1.3;

1.3
date	2002.03.31.06.59.12;	author kris;	state Exp;
branches;
next	1.2;

1.2
date	2002.02.21.07.42.17;	author ijliao;	state Exp;
branches;
next	1.1;

1.1
date	2001.12.08.09.21.59;	author ijliao;	state Exp;
branches;
next	;


desc
@@


1.23
log
@Switch exporter over
@
text
@# New ports collection makefile for:	bg5pdf
# Date created:		17 June 1998
# Whom:					Shen Chuan-Hsing
#
# $FreeBSD: head/chinese/bg5pdf/Makefile 300895 2012-07-14 12:56:14Z beat $
#

PORTNAME=	bg5pdf
PORTVERSION=	1.0.0
PORTREVISION=	6
CATEGORIES=	chinese print
MASTER_SITES=	ftp://freebsd.sinica.edu.tw/pub/statue/bg5pdf/ \
		LOCAL/chinsan

MAINTAINER=	ports@@FreeBSD.org
COMMENT=	Convert Chinese-Big5 encoded files to PDF, using PDFlib

LIB_DEPENDS=	pdf.6:${PORTSDIR}/print/pdflib

CFLAGS+=	-fPIC
USE_PYTHON=	yes
WRKSRC=		${WRKDIR}/${PORTNAME}

post-patch:
	${REINPLACE_CMD} -e 's,/usr/bin/python,python,g'  ${WRKSRC}/bg5pdf

do-build:
	${CC} ${CFLAGS} -shared ${WRKSRC}/bg5pdflib.c -I${PREFIX}/include \
		-I${PYTHON_INCLUDEDIR} -L${PREFIX}/lib -lpdf -o ${WRKSRC}/bg5pdflib.so

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>
@


1.22
log
@Chase pdflib.so version and bump PORTREVISION accordingly.
@
text
@d5 1
a5 1
# $FreeBSD$
@


1.21
log
@Reset chinsan@@FreeBSD.org due to numerous maintainer-timeouts and no
response to email.

Hat:		portmgr
@
text
@d10 1
a10 1
PORTREVISION=	5
d18 1
a18 1
LIB_DEPENDS=	pdf.8:${PORTSDIR}/print/pdflib
@


1.20
log
@- Remove the DESTDIR modifications from individual ports as we have a new,
  fully chrooted DESTDIR, which does not need such any more.

Sponsored by:	Google Summer of Code 2007
Approved by:	portmgr (pav)
@
text
@d15 1
a15 1
MAINTAINER=	chinsan@@FreeBSD.org
@


1.19
log
@- Remove bad MASTER_SITES
- Pass maintainership to submitter

PR:		ports/106218
Submitted by:	chinsan
@
text
@d33 2
a34 2
	${INSTALL_SCRIPT} ${WRKSRC}/bg5pdf ${TARGETDIR}/bin
	${INSTALL_SCRIPT} ${WRKSRC}/gbpdf ${TARGETDIR}/bin
@


1.18
log
@Chase pdf library and bump PORTREVISION.
@
text
@d12 2
a13 2
MASTER_SITES=	http://cschin.yydolphin.net/bg5pdf/ \
		ftp://freebsd.sinica.edu.tw/pub/statue/bg5pdf/
d15 1
a15 1
MAINTAINER=	ports@@FreeBSD.org
d25 5
a29 2
	${REINPLACE_CMD} -e 's,%%PYTHON_INCLUDEDIR%%,${PYTHON_INCLUDEDIR},g' \
		${WRKSRC}/Makefile
@


1.17
log
@- Respect DESTDIR
- portlint fix

PR:		ports/101902
Submitted by:	Gea-Suan Lin <gslin_AT_gslin dot org>
@
text
@d10 1
a10 1
PORTREVISION=	4
d18 1
a18 1
LIB_DEPENDS=	pdf.7:${PORTSDIR}/print/pdflib
@


1.16
log
@remove USE_REINPLACE for all ports with categories starting with C
@
text
@d20 1
a22 1
CFLAGS+=	-fPIC
d30 2
a31 2
	${INSTALL_SCRIPT} ${WRKSRC}/bg5pdf ${PREFIX}/bin
	${INSTALL_SCRIPT} ${WRKSRC}/gbpdf ${PREFIX}/bin
@


1.15
log
@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
@
text
@a21 1
USE_REINPLACE=	yes
@


1.14
log
@- Pass maintainership to submitter

PR:		ports/75730
Submitted by:	statue(at)freebsd.netlab.cse.yzu.edu.tw
@
text
@d15 1
a15 1
MAINTAINER=	statue@@freebsd.netlab.cse.yzu.edu.tw
@


1.13
log
@- Chase the pdflib shared library
- Bump PORTREVISION
@
text
@d15 1
a15 1
MAINTAINER=	ports@@FreeBSD.org
@


1.12
log
@Tidy up whitespace.
@
text
@d10 1
a10 1
PORTREVISION=	3
d18 1
a18 1
LIB_DEPENDS=	pdf.6:${PORTSDIR}/print/pdflib
@


1.11
log
@Fix Build on AMD64
@
text
@d18 1
a18 1
LIB_DEPENDS=    pdf.6:${PORTSDIR}/print/pdflib
@


1.10
log
@statue@@freebsd.sinica.edu.tw has asked for all the maintained
ports to be reset to ports@@FreeBSD.org.  We're sorry to see you
go and want to thank you for your help in the past.

PR:		ports/59515
Submitted by:	statue@@freebsd.sinica.edu.tw
@
text
@d23 1
@


1.9
log
@make it build
bump PORTREVISION

PR:		ports/59057
Submitted by:	maintainer
@
text
@d15 1
a15 1
MAINTAINER=	statue@@freebsd.sinica.edu.tw
@


1.8
log
@fix INDEX build
while I'm here, fix the MASTER site, and the homepage entry in pkg-desc
bump PORTREVISION
@
text
@d10 1
a10 1
PORTREVISION=	2
d22 5
@


1.7
log
@print/pdflib -> print/pdflib4
Informed maintainer
@
text
@d10 1
a10 1
PORTREVISION=	1
d12 1
a12 1
MASTER_SITES=	http://students.washington.edu/cschin/bg5ps/bg5pdf/ \
d18 1
a18 1
LIB_DEPENDS=    pdf.4:${PORTSDIR}/print/pdflib4
@


1.6
log
@De-pkg-comment.
@
text
@d18 1
a18 1
LIB_DEPENDS=    pdf.4:${PORTSDIR}/print/pdflib
@


1.5
log
@Add GB2312 Support
bump PORTREVISION

PR:		40194
Submitted by:	maintainer
@
text
@d16 1
@


1.4
log
@dont hardcode python sitelibdir path

PR:		37419
Submitted by:	maintainer
@
text
@d10 1
d25 1
@


1.3
log
@Switch over to using pdflib-4.x instead of pdflib-3.x
Respect CC and CFLAGS
@
text
@d24 1
a24 1
	${INSTALL_PROGRAM} ${WRKSRC}/bg5pdflib.so ${PREFIX}/lib/python2.1/site-packages
@


1.2
log
@change master site
change depend on python 2.2

PR:		35167
Submitted by:	maintainer
@
text
@d16 1
a16 1
LIB_DEPENDS=    pdf.3:${PORTSDIR}/print/pdflib3
@


1.1
log
@add bg5pdf
Convert Chinese-Big5 encoded files to PDF, using PDFlib

PR:		32473
Submitted by:	Statue <statue@@softwareliberty.org>
@
text
@d12 1
a12 1
		http://freebsd.sinica.edu.tw/~statue/
@

