2012-11-28 18:12:26 +01:00
|
|
|
# Created by: ijliao
|
2003-02-06 19:33:13 +01:00
|
|
|
# $FreeBSD$
|
|
|
|
|
|
|
|
PORTNAME= sam2p
|
2013-10-11 21:59:27 +02:00
|
|
|
PORTVERSION= 0.49.2
|
2006-01-19 13:31:38 +01:00
|
|
|
PORTEPOCH= 1
|
2003-02-06 19:33:13 +01:00
|
|
|
CATEGORIES= graphics
|
2011-07-02 20:23:25 +02:00
|
|
|
MASTER_SITES= GOOGLE_CODE
|
2003-02-06 19:33:13 +01:00
|
|
|
|
|
|
|
MAINTAINER= ports@FreeBSD.org
|
2003-02-20 19:08:19 +01:00
|
|
|
COMMENT= Converts raster (bitmap) image formats into PS or PDF files
|
2003-02-06 19:33:13 +01:00
|
|
|
|
2011-08-26 06:41:24 +02:00
|
|
|
LICENSE= GPLv2
|
|
|
|
|
2010-05-09 13:21:59 +02:00
|
|
|
RUN_DEPENDS= zip:${PORTSDIR}/archivers/zip \
|
|
|
|
cjpeg:${PORTSDIR}/graphics/jpeg \
|
|
|
|
tif22pnm:${PORTSDIR}/graphics/tif22pnm
|
2003-02-06 19:33:13 +01:00
|
|
|
|
2013-10-11 21:59:27 +02:00
|
|
|
OPTIONS_DEFINE= DOCS EXAMPLES
|
|
|
|
|
|
|
|
USES= gmake perl5
|
2013-08-03 15:44:00 +02:00
|
|
|
USE_PERL5= build
|
2013-10-11 21:59:27 +02:00
|
|
|
USE_GCC= any
|
2010-05-09 13:21:59 +02:00
|
|
|
USE_GHOSTSCRIPT_RUN= yes
|
2003-10-26 19:34:36 +01:00
|
|
|
GNU_CONFIGURE= yes
|
2010-05-09 13:21:59 +02:00
|
|
|
CONFIGURE_ENV= ac_cv_path_pts_bash="${SH}"
|
2013-10-11 21:59:27 +02:00
|
|
|
CONFIGURE_ARGS= --enable-gif
|
2014-05-20 21:32:39 +02:00
|
|
|
MAKE_ARGS= CXXX="${CXX}" LDALL="${CXX}" CXXFLAGSB="${CXXFLAGS}" CC="${CC}" CXX="${CXX}"
|
2003-10-26 19:34:36 +01:00
|
|
|
ALL_TARGET= ${PORTNAME}
|
2010-05-09 13:21:59 +02:00
|
|
|
|
2013-10-11 21:59:27 +02:00
|
|
|
PORTDOCS= *
|
2010-05-09 13:21:59 +02:00
|
|
|
PORTEXAMPLES= *
|
|
|
|
PLIST_FILES= bin/${PORTNAME}
|
2003-02-06 19:33:13 +01:00
|
|
|
|
|
|
|
do-install:
|
2013-10-11 21:59:27 +02:00
|
|
|
(cd ${WRKSRC} && ${INSTALL_PROGRAM} ${PORTNAME} \
|
|
|
|
${STAGEDIR}${PREFIX}/bin)
|
|
|
|
@${MKDIR} ${STAGEDIR}${DOCSDIR}
|
|
|
|
(cd ${WRKSRC} && ${INSTALL_DATA} README ${STAGEDIR}${DOCSDIR})
|
|
|
|
@${MKDIR} ${STAGEDIR}${EXAMPLESDIR}
|
|
|
|
@(cd ${WRKSRC}/examples && ${COPYTREE_SHARE} . \
|
|
|
|
${STAGEDIR}${EXAMPLESDIR})
|
2003-02-06 19:33:13 +01:00
|
|
|
|
2006-01-19 13:31:38 +01:00
|
|
|
.include <bsd.port.mk>
|