ports/187748: graphics/tumble: Update MASTER_SITES
KATO Tsuguru
tkato432 at yahoo.com
Wed Mar 19 18:40:04 UTC 2014
>Number: 187748
>Category: ports
>Synopsis: graphics/tumble: Update MASTER_SITES
>Confidential: no
>Severity: non-critical
>Priority: low
>Responsible: freebsd-ports-bugs
>State: open
>Quarter:
>Keywords:
>Date-Required:
>Class: change-request
>Submitter-Id: current-users
>Arrival-Date: Wed Mar 19 18:40:03 UTC 2014
>Closed-Date:
>Last-Modified:
>Originator: KATO Tsuguru
>Release: FreeBSD 8.4-RELEASE-p7 i386
>Organization:
>Environment:
>Description:
- Update MASTER_SITES
- Support gmake USES macro
- Add LICENSE
>How-To-Repeat:
>Fix:
diff -urN /usr/ports/graphics/tumble/Makefile graphics/tumble/Makefile
--- /usr/ports/graphics/tumble/Makefile 2013-11-06 22:01:38.000000000 +0900
+++ graphics/tumble/Makefile 2014-03-20 00:00:00.000000000 +0900
@@ -3,42 +3,45 @@
PORTNAME= tumble
PORTVERSION= 0.33
-PORTREVISION= 3
+PORTREVISION= 4
CATEGORIES= graphics print
MASTER_SITES= http://tumble.brouhaha.com/download/ \
- http://www.predatorlabs.net/dl/
+ http://www.sourcefiles.org/Graphics/Tools/Conversion/
MAINTAINER= ports at FreeBSD.org
COMMENT= Creates a PDF file from image files
-LIB_DEPENDS= tiff.4:${PORTSDIR}/graphics/tiff \
- netpbm.1:${PORTSDIR}/graphics/netpbm
-BUILD_DEPENDS= ${LOCALBASE}/bin/flex:${PORTSDIR}/textproc/flex
+LICENSE= GPLv2
-USE_GMAKE= yes
-USES= bison
+LIB_DEPENDS= libtiff.so:${PORTSDIR}/graphics/tiff \
+ libnetpbm.so:${PORTSDIR}/graphics/netpbm
+USES= bison gmake
CFLAGS+= -I${LOCALBASE}/include
LDFLAGS+= -L${LOCALBASE}/lib
-ONLY_FOR_ARCHS= amd64 arm i386 ia64 pc98
-ONLY_FOR_ARCHS_REASON= Only works on little endian systems
+NOT_FOR_ARCHS= powerpc sparc64
+NOT_FOR_ARCHS_REASON= Only works on little endian systems
-PLIST_FILES= bin/tumble
PORTDOCS= README
+PLIST_FILES= bin/tumble
+
+OPTIONS_DEFINE= DOCS
-NO_STAGE= yes
post-patch:
- ${REINPLACE_CMD} -e 's|-O3|${CFLAGS}|' ${WRKSRC}/Makefile
- ${REINPLACE_CMD} -e 's|LDFLAGS =|LDFLAGS= ${LDFLAGS}|' ${WRKSRC}/Makefile
- ${REINPLACE_CMD} -e 's|-lpbm|-lnetpbm|' ${WRKSRC}/Makefile
+ @${REINPLACE_CMD} -e \
+ 's|^\(CFLAGS\) =.*|\1 := $$(CFLAGS)| ; \
+ s|^\(LDFLAGS\) =.*|\1 := $$(LDFLAGS)| ; \
+ s|-O3|| ; \
+ s|-lpbm|-lnetpbm| ; \
+ s|strip|true|' ${WRKSRC}/Makefile
do-install:
- ${INSTALL_PROGRAM} ${WRKSRC}/tumble ${PREFIX}/bin/
-.if !defined(NOPORTDOCS)
- ${MKDIR} ${DOCSDIR}/
- ${INSTALL_DATA} ${WRKSRC}/README ${DOCSDIR}/
-.endif
+ (cd ${WRKSRC} && ${INSTALL_PROGRAM} tumble \
+ ${STAGEDIR}${PREFIX}/bin)
+ @${MKDIR} ${STAGEDIR}${DOCSDIR}
+ (cd ${WRKSRC} && ${INSTALL_DATA} README \
+ ${STAGEDIR}${DOCSDIR})
.include <bsd.port.mk>
>Release-Note:
>Audit-Trail:
>Unformatted:
More information about the freebsd-ports-bugs
mailing list