Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 21 Jan 2014 19:12:41 +0000 (UTC)
From:      Antoine Brodin <antoine@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r340637 - head/graphics/bmeps
Message-ID:  <201401211912.s0LJCf4l014650@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: antoine
Date: Tue Jan 21 19:12:40 2014
New Revision: 340637
URL: http://svnweb.freebsd.org/changeset/ports/340637
QAT: https://qat.redports.org/buildarchive/r340637/

Log:
  - Stage support
  - Get rid of infozip dependency

Modified:
  head/graphics/bmeps/Makefile

Modified: head/graphics/bmeps/Makefile
==============================================================================
--- head/graphics/bmeps/Makefile	Tue Jan 21 18:43:56 2014	(r340636)
+++ head/graphics/bmeps/Makefile	Tue Jan 21 19:12:40 2014	(r340637)
@@ -6,19 +6,19 @@ PORTVERSION=	2.2.26
 CATEGORIES=	graphics perl5
 MASTER_SITES=	SF/dktools/dktools/dktools-${PORTVERSION}
 DISTNAME=	dktools-${PORTVERSION}
+EXTRACT_SUFX=	.zip
 
 MAINTAINER=	ports@FreeBSD.org
 COMMENT=	Convert bitmap images (PNG/JPEG/NetPBM) to EPS
 
-LICENSE=	BSD
+LICENSE=	BSD3CLAUSE
 LICENSE_FILE=	${WRKSRC}/bsdlic.txt
 
-LIB_DEPENDS=	jpeg:${PORTSDIR}/graphics/jpeg \
-		png15:${PORTSDIR}/graphics/png \
-		tiff:${PORTSDIR}/graphics/tiff
+LIB_DEPENDS=	libjpeg.so:${PORTSDIR}/graphics/jpeg \
+		libpng15.so:${PORTSDIR}/graphics/png \
+		libtiff.so:${PORTSDIR}/graphics/tiff
 
 USES=		perl5
-USE_ZIP=	yes
 GNU_CONFIGURE=	yes
 CONFIGURE_ENV=	ac_cv_header_sys_termios_h=no
 CONFIGURE_ARGS=	--sysconfdir=${PREFIX}/etc/dktools\
@@ -31,8 +31,8 @@ ALL_TARGET=	stc ${PORTNAME}
 CPPFLAGS+=	-I${LOCALBASE}/include
 LDFLAGS+=	-L${LOCALBASE}/lib
 
-MAN1=		bmeps.1
 PLIST_FILES=	bin/bmeps \
+		man/man1/bmeps.1.gz \
 		%%DATADIR%%/bmeps.str \
 		%%DATADIR%%/bmeps.stt.bz2 \
 		%%DATADIR%%/bmeps.txt \
@@ -41,19 +41,18 @@ PLIST_FILES=	bin/bmeps \
 PLIST_DIRS=	%%DATADIR%%/de \
 		%%DATADIR%%
 
-NO_STAGE=	yes
 post-build:
 	@(cd ${WRKSRC} && ./stc --/log/stderr/level=error \
 		--log/stdout/level=none --/log/file/keep=none \
 		bmeps.str share/dktools)
 
 do-install:
-	(cd ${WRKSRC} && ${INSTALL_PROGRAM} bmeps ${PREFIX}/bin)
-	(cd ${WRKSRC}/man/man1 && ${INSTALL_MAN} bmeps.1 ${MANPREFIX}/man/man1)
-	@${MKDIR} ${DATADIR}
-	(cd ${WRKSRC} && ${INSTALL_DATA} bmeps.str ${DATADIR})
-	(cd ${WRKSRC}/share/dktools/en && ${INSTALL_DATA} bmeps.* ${DATADIR})
-	@${MKDIR} ${DATADIR}/de
-	(cd ${WRKSRC}/share/dktools/de && ${INSTALL_DATA} bmeps.* ${DATADIR}/de)
+	${INSTALL_PROGRAM} ${WRKSRC}/bmeps ${STAGEDIR}${PREFIX}/bin
+	${INSTALL_MAN} ${WRKSRC}/man/man1/bmeps.1 ${STAGEDIR}${MANPREFIX}/man/man1
+	@${MKDIR} ${STAGEDIR}${DATADIR}
+	${INSTALL_DATA} ${WRKSRC}/bmeps.str ${STAGEDIR}${DATADIR}
+	${INSTALL_DATA} ${WRKSRC}/share/dktools/en/bmeps.* ${STAGEDIR}${DATADIR}
+	@${MKDIR} ${STAGEDIR}${DATADIR}/de
+	${INSTALL_DATA} ${WRKSRC}/share/dktools/de/bmeps.* ${STAGEDIR}${DATADIR}/de
 
 .include <bsd.port.mk>



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201401211912.s0LJCf4l014650>