2001-03-28 11:33:33 +02:00
|
|
|
# New ports collection makefile for: Panda
|
|
|
|
# Date created: 28 March 2001
|
|
|
|
# Whom: Akinori MUSHA aka knu <knu@idaemons.org>
|
|
|
|
#
|
|
|
|
# $FreeBSD$
|
|
|
|
#
|
|
|
|
|
|
|
|
PORTNAME= panda
|
2002-01-30 03:57:45 +01:00
|
|
|
PORTVERSION= 0.4.1
|
2001-03-28 11:33:33 +02:00
|
|
|
CATEGORIES= print
|
|
|
|
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE}
|
2002-01-30 03:57:45 +01:00
|
|
|
MASTER_SITE_SUBDIR= ${PORTNAME}
|
|
|
|
DISTNAME= ${PORTNAME}_${PORTVERSION}
|
2001-03-28 11:33:33 +02:00
|
|
|
EXTRACT_SUFX= .tgz
|
|
|
|
|
2002-01-16 11:43:52 +01:00
|
|
|
MAINTAINER= ports@FreeBSD.org
|
2001-03-28 11:33:33 +02:00
|
|
|
|
|
|
|
LIB_DEPENDS= jpeg.9:${PORTSDIR}/graphics/jpeg \
|
2001-09-11 04:59:20 +02:00
|
|
|
png.5:${PORTSDIR}/graphics/png \
|
2001-03-28 11:33:33 +02:00
|
|
|
tiff.4:${PORTSDIR}/graphics/tiff
|
|
|
|
|
2002-01-30 03:57:45 +01:00
|
|
|
WRKSRC= ${WRKDIR}/${PORTNAME}-${PORTVERSION}
|
|
|
|
|
2001-03-28 11:33:33 +02:00
|
|
|
USE_GMAKE= yes
|
2002-01-30 03:57:45 +01:00
|
|
|
USE_LIBTOOL= yes
|
|
|
|
CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include ${PTHREAD_CFLAGS}" \
|
|
|
|
LDFLAGS="-L${LOCALBASE}/lib ${PTHREAD_LIBS}"
|
2001-03-28 11:33:33 +02:00
|
|
|
INSTALLS_SHLIB= yes
|
|
|
|
|
|
|
|
post-install:
|
2002-01-30 03:57:45 +01:00
|
|
|
@${INSTALL_MAN} ${WRKSRC}/man/panda_*.3 ${MANPREFIX}/man/man3
|
2001-03-28 11:33:33 +02:00
|
|
|
.if !defined(NOPORTDOCS)
|
2002-01-30 03:57:45 +01:00
|
|
|
@${MKDIR} ${DOCSDIR}
|
|
|
|
.for f in AUTHORS CONTRIBUTORS ChangeLog DEV-HINTS README TODO UNDERWAY
|
|
|
|
@${INSTALL_DATA} ${WRKSRC}/${f} ${DOCSDIR}
|
2001-03-28 11:33:33 +02:00
|
|
|
.endfor
|
2002-01-30 03:57:45 +01:00
|
|
|
@${MKDIR} ${EXAMPLESDIR}
|
|
|
|
.for f in IMAGES examples/*.c examples/images/*.*
|
|
|
|
@${INSTALL_DATA} ${WRKSRC}/${f} ${EXAMPLESDIR}
|
2001-03-28 11:33:33 +02:00
|
|
|
.endfor
|
|
|
|
.endif
|
|
|
|
|
2002-01-30 03:57:45 +01:00
|
|
|
.include "Makefile.man"
|
2001-03-28 11:33:33 +02:00
|
|
|
.include <bsd.port.mk>
|