aboutsummaryrefslogtreecommitdiffstats
path: root/graphics
diff options
context:
space:
mode:
authordanilo <danilo@FreeBSD.org>2013-10-12 03:59:27 +0800
committerdanilo <danilo@FreeBSD.org>2013-10-12 03:59:27 +0800
commitd34a14ba214685f2a2db4ff0bbb889dcf7752f9f (patch)
treeb9662c1e02125d65a6cfdf0a48badd9cd31bdc57 /graphics
parent5d7686bca0749f0c1a59cafa44f44cc28047107d (diff)
downloadfreebsd-ports-gnome-d34a14ba214685f2a2db4ff0bbb889dcf7752f9f.tar.gz
freebsd-ports-gnome-d34a14ba214685f2a2db4ff0bbb889dcf7752f9f.tar.zst
freebsd-ports-gnome-d34a14ba214685f2a2db4ff0bbb889dcf7752f9f.zip
- Update from 0.49.1 to 0.49.2
- Convert USE_GMAKE to USES - Add stage support PR: ports/182805 Submitted by: KATO Tsuguru <tkato432@yahoo.com> Approved by: wg/culot (mentors, implicit)
Diffstat (limited to 'graphics')
-rw-r--r--graphics/sam2p/Makefile33
-rw-r--r--graphics/sam2p/distinfo4
2 files changed, 17 insertions, 20 deletions
diff --git a/graphics/sam2p/Makefile b/graphics/sam2p/Makefile
index c2cfa28f6efd..2949c4d330ee 100644
--- a/graphics/sam2p/Makefile
+++ b/graphics/sam2p/Makefile
@@ -2,8 +2,7 @@
# $FreeBSD$
PORTNAME= sam2p
-PORTVERSION= 0.49.1
-PORTREVISION= 1
+PORTVERSION= 0.49.2
PORTEPOCH= 1
CATEGORIES= graphics
MASTER_SITES= GOOGLE_CODE
@@ -17,31 +16,29 @@ RUN_DEPENDS= zip:${PORTSDIR}/archivers/zip \
cjpeg:${PORTSDIR}/graphics/jpeg \
tif22pnm:${PORTSDIR}/graphics/tif22pnm
-USES= perl5
+OPTIONS_DEFINE= DOCS EXAMPLES
+
+USES= gmake perl5
USE_PERL5= build
+USE_GCC= any
USE_GHOSTSCRIPT_RUN= yes
-USE_GMAKE= yes
GNU_CONFIGURE= yes
CONFIGURE_ENV= ac_cv_path_pts_bash="${SH}"
-MAKE_ARGS= CXXX="${CXX}" LDALL="${CXX}" CXXFLAGSB="${CXXFLAGS}"
+CONFIGURE_ARGS= --enable-gif
+MAKE_ARGS= CXXX="${CXX}" LDALL="${CXX}" CXXFLAGSB="${CXXFLAGS}" CC=${CC} CXX=${CXX}
ALL_TARGET= ${PORTNAME}
-PORTDOCS= README
+PORTDOCS= *
PORTEXAMPLES= *
PLIST_FILES= bin/${PORTNAME}
-NO_STAGE= yes
-.include <bsd.port.options.mk>
-
do-install:
- ${INSTALL_PROGRAM} ${WRKSRC}/${PORTNAME} ${PREFIX}/bin/
-.if ${PORT_OPTIONS:MDOCS}
- @${MKDIR} ${DOCSDIR}
- ${INSTALL_DATA} ${PORTDOCS:S|^|${WRKSRC}/|} ${DOCSDIR}
-.endif
-.if ${PORT_OPTIONS:MEXAMPLES}
- @${MKDIR} ${EXAMPLESDIR}
- @cd ${WRKSRC}/examples && ${COPYTREE_SHARE} \* ${EXAMPLESDIR}
-.endif
+ (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})
.include <bsd.port.mk>
diff --git a/graphics/sam2p/distinfo b/graphics/sam2p/distinfo
index fad2edc6f646..ddf9c619b67f 100644
--- a/graphics/sam2p/distinfo
+++ b/graphics/sam2p/distinfo
@@ -1,2 +1,2 @@
-SHA256 (sam2p-0.49.1.tar.gz) = d97a270e3ad4ad138378b5fcb10e489e9af48a8150f308458771808dfceb069a
-SIZE (sam2p-0.49.1.tar.gz) = 562304
+SHA256 (sam2p-0.49.2.tar.gz) = 0e75d94bed380f8d8bd629f7797a0ca533b5d0b40eba2dab339146dedc1f79bf
+SIZE (sam2p-0.49.2.tar.gz) = 562733