mirror of
https://git.FreeBSD.org/ports.git
synced 2024-11-27 00:57:50 +00:00
Add panda, a GPL'ed PDF generation library.
This commit is contained in:
parent
96906f5359
commit
7c95143f4f
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=40467
@ -77,6 +77,7 @@
|
||||
SUBDIR += p5-GnomePrint
|
||||
SUBDIR += p5-Text-PDF
|
||||
SUBDIR += pnm2ppa
|
||||
SUBDIR += panda
|
||||
SUBDIR += pclprint
|
||||
SUBDIR += pdflib
|
||||
SUBDIR += pdflib3
|
||||
|
71
print/panda/Makefile
Normal file
71
print/panda/Makefile
Normal file
@ -0,0 +1,71 @@
|
||||
# New ports collection makefile for: Panda
|
||||
# Date created: 28 March 2001
|
||||
# Whom: Akinori MUSHA aka knu <knu@idaemons.org>
|
||||
#
|
||||
# $FreeBSD$
|
||||
#
|
||||
|
||||
PORTNAME= panda
|
||||
PORTVERSION= 0.4.p1
|
||||
CATEGORIES= print
|
||||
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE}
|
||||
MASTER_SITE_SUBDIR= panda
|
||||
DISTNAME= ${PORTNAME}_${PORTVERSION:S/./_/g:S/p/rc/}
|
||||
EXTRACT_SUFX= .tgz
|
||||
|
||||
MAINTAINER= knu@FreeBSD.org
|
||||
|
||||
LIB_DEPENDS= jpeg.9:${PORTSDIR}/graphics/jpeg \
|
||||
png.4:${PORTSDIR}/graphics/png \
|
||||
tiff.4:${PORTSDIR}/graphics/tiff
|
||||
|
||||
WRKSRC= ${WRKDIR}/${PORTNAME}-${PORTVERSION:S/.p/-rc/}
|
||||
GNU_CONFIGURE= yes
|
||||
USE_GMAKE= yes
|
||||
CONFIGURE_ENV= CPPFLAGS="-I${PREFIX}/include" \
|
||||
CFLAGS="${CFLAGS} ${PTHREAD_CFLAGS}" \
|
||||
LDFLAGS="-L${PREFIX}/lib" \
|
||||
LIBS="${PTHREAD_LIBS}"
|
||||
INSTALLS_SHLIB= yes
|
||||
|
||||
MAN3= checkinfo.3 initpanda.3 makedate.3 nowdate.3 \
|
||||
panda-textmodes.3 panda-xobjectmodes.3 pdfclose.3 \
|
||||
pdfopen.3 pdfpage.3 setauthor.3 setcharacterspacing.3 \
|
||||
setcreator.3 setfont.3 setfontmode.3 setfontsize.3 \
|
||||
sethorizontalscaling.3 setkeywords.3 setleading.3 \
|
||||
setsubject.3 settitle.3 setwordspacing.3
|
||||
|
||||
DOCS= AUTHORS BUGS CONTRIBUTORS ChangeLog \
|
||||
DEV-HINTS README TODO UNDERWAY
|
||||
EXAMPLES= IMAGES *.jpg *.png *.tif main.c legacymain.c
|
||||
|
||||
post-configure:
|
||||
# GNU make doesn't have a -V option, so we have to add a shot_VARIABLE
|
||||
# target for each variable and run gmake show_VARIABLE to look it up.
|
||||
cd ${WRKSRC} && ${PERL} -pe 's/%%(\w+)%%/ \
|
||||
open(H, ">> Makefile"); \
|
||||
print H "show_$$1:; \@echo \$$($$1)\n"; \
|
||||
close(H); \
|
||||
$$_ = `${GMAKE} show_$$1`; \
|
||||
chomp; \
|
||||
$$_; \
|
||||
/eg' \
|
||||
${FILESDIR}/BSDMakefile > ${WRKSRC}/BSDMakefile
|
||||
|
||||
pre-build:
|
||||
@cd ${BUILD_WRKSRC} && ${SETENV} ${MAKE_ENV} ${MAKE} -f BSDMakefile ${MAKE_ARGS} ${ALL_TARGET}
|
||||
|
||||
post-install:
|
||||
@cd ${BUILD_WRKSRC} && ${SETENV} ${MAKE_ENV} ${MAKE} -f BSDMakefile ${MAKE_ARGS} ${INSTALL_TARGET}
|
||||
.if !defined(NOPORTDOCS)
|
||||
${MKDIR} ${PREFIX}/share/doc/${PORTNAME}
|
||||
.for f in ${DOCS}
|
||||
${INSTALL_DATA} ${WRKSRC}/${f} ${PREFIX}/share/doc/${PORTNAME}/
|
||||
.endfor
|
||||
${MKDIR} ${PREFIX}/share/examples/${PORTNAME}
|
||||
.for f in ${EXAMPLES}
|
||||
${INSTALL_DATA} ${WRKSRC}/${f} ${PREFIX}/share/examples/${PORTNAME}/
|
||||
.endfor
|
||||
.endif
|
||||
|
||||
.include <bsd.port.mk>
|
1
print/panda/distinfo
Normal file
1
print/panda/distinfo
Normal file
@ -0,0 +1 @@
|
||||
MD5 (panda_0_4_rc1.tgz) = 25a203277383bed7a5563fae118d9600
|
34
print/panda/files/BSDMakefile
Normal file
34
print/panda/files/BSDMakefile
Normal file
@ -0,0 +1,34 @@
|
||||
# $FreeBSD$
|
||||
|
||||
LIB= panda
|
||||
SHLIB_MAJOR?= 0
|
||||
SHLIB_MINOR?= 0
|
||||
CFLAGS+= %%DEFS%% %%INCLUDES%% %%AM_CPPFLAGS%% %%CPPFLAGS%% %%AM_CFLAGS%%
|
||||
LDADD= %%LDFLAGS%% %%LIBS%%
|
||||
SRCS= %%libpanda_a_SOURCES%%
|
||||
INCS= ${LIB}/*.h
|
||||
NOMAN= YES
|
||||
LIBDIR= ${LOCALBASE}/lib
|
||||
INCDIR= ${LOCALBASE}/include/${LIB}
|
||||
|
||||
.include <bsd.lib.mk>
|
||||
|
||||
# For FreeBSD 3.x or older
|
||||
.if !target(_includeinstall)
|
||||
_includeinstall:
|
||||
.if defined(INCS)
|
||||
.for header in ${INCS}
|
||||
cd ${.CURDIR} && \
|
||||
${INSTALL} -C -o ${INCOWN} -g ${INCGRP} -m ${INCMODE} \
|
||||
${header} ${DESTDIR}${INCDIR}
|
||||
|
||||
.endfor
|
||||
.endif
|
||||
|
||||
beforeinstall: _includeinstall
|
||||
.endif
|
||||
|
||||
_includeinstall: pre-_includeinstall
|
||||
|
||||
pre-_includeinstall:
|
||||
mkdir -p ${DESTDIR}${INCDIR}
|
1
print/panda/pkg-comment
Normal file
1
print/panda/pkg-comment
Normal file
@ -0,0 +1 @@
|
||||
A GPL'ed PDF generation library
|
3
print/panda/pkg-descr
Normal file
3
print/panda/pkg-descr
Normal file
@ -0,0 +1,3 @@
|
||||
Panda is a GPL'ed PDF generation library.
|
||||
|
||||
WWW: http://www.stillhq.com/cgi-bin/getpage?area=panda&page=index.htm
|
26
print/panda/pkg-plist
Normal file
26
print/panda/pkg-plist
Normal file
@ -0,0 +1,26 @@
|
||||
include/panda/constants.h
|
||||
include/panda/functions.h
|
||||
include/panda/objects.h
|
||||
include/panda/legacy.h
|
||||
@dirrm include/panda
|
||||
lib/libpanda.a
|
||||
%%PORTDOCS%%share/doc/panda/AUTHORS
|
||||
%%PORTDOCS%%share/doc/panda/BUGS
|
||||
%%PORTDOCS%%share/doc/panda/CONTRIBUTORS
|
||||
%%PORTDOCS%%share/doc/panda/ChangeLog
|
||||
%%PORTDOCS%%share/doc/panda/DEV-HINTS
|
||||
%%PORTDOCS%%share/doc/panda/README
|
||||
%%PORTDOCS%%share/doc/panda/TODO
|
||||
%%PORTDOCS%%share/doc/panda/UNDERWAY
|
||||
%%PORTDOCS%%@dirrm share/doc/panda
|
||||
%%PORTDOCS%%share/examples/panda/IMAGES
|
||||
%%PORTDOCS%%share/examples/panda/brave-gnu.png
|
||||
%%PORTDOCS%%share/examples/panda/gnu-head.jpg
|
||||
%%PORTDOCS%%share/examples/panda/gnu-head.png
|
||||
%%PORTDOCS%%share/examples/panda/gnu_box.jpg
|
||||
%%PORTDOCS%%share/examples/panda/input-ms.tif
|
||||
%%PORTDOCS%%share/examples/panda/input.tif
|
||||
%%PORTDOCS%%share/examples/panda/input2.tif
|
||||
%%PORTDOCS%%share/examples/panda/legacymain.c
|
||||
%%PORTDOCS%%share/examples/panda/main.c
|
||||
%%PORTDOCS%%@dirrm share/examples/panda
|
Loading…
Reference in New Issue
Block a user