Bug 187748 - graphics/tumble: Update MASTER_SITES
Summary: graphics/tumble: Update MASTER_SITES
Status: Closed FIXED
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: Any Any
: Normal Affects Only Me
Assignee: Martin Wilke
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2014-03-19 18:40 UTC by tkato432
Modified: 2014-04-26 03:30 UTC (History)
0 users

See Also:


Attachments
file.diff (1.98 KB, patch)
2014-03-19 18:40 UTC, tkato432
no flags Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description tkato432 2014-03-19 18:40:03 UTC
- Update MASTER_SITES
- Support gmake USES macro
- Add LICENSE
Comment 1 Edwin Groothuis freebsd_committer freebsd_triage 2014-03-19 18:40:26 UTC
Responsible Changed
From-To: freebsd-ports-bugs->miwi

miwi@ wants this submitter's PRs (via the GNATS Auto Assign Tool)
Comment 2 Martin Wilke freebsd_committer freebsd_triage 2014-04-26 03:27:04 UTC
State Changed
From-To: open->closed

Committed. Thanks!
Comment 3 dfilter service freebsd_committer freebsd_triage 2014-04-26 03:27:29 UTC
Author: miwi
Date: Sat Apr 26 02:27:25 2014
New Revision: 352210
URL: http://svnweb.freebsd.org/changeset/ports/352210
QAT: https://qat.redports.org/buildarchive/r352210/

Log:
  - Update MASTER_SITES
  - Support gmake USES macro
  - Add LICENSE
  - Stage support
  
  PR:		187748
  Submitted by:	ports fury

Modified:
  head/graphics/tumble/Makefile

Modified: head/graphics/tumble/Makefile
==============================================================================
--- head/graphics/tumble/Makefile	Sat Apr 26 02:26:13 2014	(r352209)
+++ head/graphics/tumble/Makefile	Sat Apr 26 02:27:25 2014	(r352210)
@@ -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@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>
_______________________________________________
svn-ports-all@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/svn-ports-all
To unsubscribe, send any mail to "svn-ports-all-unsubscribe@freebsd.org"