svn commit: r330098 - head/graphics/sam2p

Danilo Egea Gondolfo danilo at FreeBSD.org
Fri Oct 11 19:59:28 UTC 2013


Author: danilo
Date: Fri Oct 11 19:59:27 2013
New Revision: 330098
URL: http://svnweb.freebsd.org/changeset/ports/330098

Log:
  - 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 at yahoo.com>
  Approved by:	wg/culot (mentors, implicit)

Modified:
  head/graphics/sam2p/Makefile
  head/graphics/sam2p/distinfo

Modified: head/graphics/sam2p/Makefile
==============================================================================
--- head/graphics/sam2p/Makefile	Fri Oct 11 18:50:18 2013	(r330097)
+++ head/graphics/sam2p/Makefile	Fri Oct 11 19:59:27 2013	(r330098)
@@ -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/z
 		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>

Modified: head/graphics/sam2p/distinfo
==============================================================================
--- head/graphics/sam2p/distinfo	Fri Oct 11 18:50:18 2013	(r330097)
+++ head/graphics/sam2p/distinfo	Fri Oct 11 19:59:27 2013	(r330098)
@@ -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


More information about the svn-ports-head mailing list