1
0
mirror of https://git.FreeBSD.org/ports.git synced 2025-01-10 07:04:03 +00:00

- 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)
This commit is contained in:
Danilo Egea Gondolfo 2013-10-11 19:59:27 +00:00
parent 9df96dcade
commit 7de0cbc2b5
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=330098
2 changed files with 17 additions and 20 deletions

View File

@ -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>

View File

@ -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