Date: Sat, 17 May 2014 20:35:56 +0000 (UTC) From: Pawel Pekala <pawel@FreeBSD.org> To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r354368 - head/japanese/e2ps Message-ID: <201405172035.s4HKZuIp077757@svn.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: pawel Date: Sat May 17 20:35:55 2014 New Revision: 354368 URL: http://svnweb.freebsd.org/changeset/ports/354368 QAT: https://qat.redports.org/buildarchive/r354368/ Log: - Add staging support - Convert to new options framework, USES=tar:bzip2 - Switch to PLIST_FILES, PORTDOCS Deleted: head/japanese/e2ps/pkg-plist Modified: head/japanese/e2ps/Makefile Modified: head/japanese/e2ps/Makefile ============================================================================== --- head/japanese/e2ps/Makefile Sat May 17 20:26:29 2014 (r354367) +++ head/japanese/e2ps/Makefile Sat May 17 20:35:55 2014 (r354368) @@ -9,11 +9,13 @@ MASTER_SITES= http://wt1.ld.infoseek.co. MAINTAINER= ports@FreeBSD.org COMMENT= Text file to postscript converter (with Japanese support) -USE_BZIP2= yes -DOCDIR= ${PREFIX}/share/doc/${PKGBASE} +USES= tar:bzip2 +DOCSDIR= ${PREFIX}/share/doc/${PKGBASE} -NO_STAGE= yes -.include <bsd.port.pre.mk> +PLIST_FILES= bin/e2ps bin/e2lpr +PORTDOCS= README.euc README.english + +OPTIONS_DEFINE= DOCS post-patch: cd ${WRKSRC} && \ @@ -21,11 +23,9 @@ post-patch: ${SED} -e '/Times-Roman$$/,/^Gothic-Medium.Katakana$$/{s,$$,\\,;}' ps-font.c.orig > ps-font.c do-install: - ${INSTALL_PROGRAM} ${WRKSRC}/e2ps ${PREFIX}/bin - ${LN} -sf ${PREFIX}/bin/e2ps ${PREFIX}/bin/e2lpr -.if !defined(NOPORTDOCS) - ${MKDIR} ${DOCDIR} - cd ${WRKSRC} ; ${INSTALL_DATA} README.euc README.english ${DOCDIR} -.endif + ${INSTALL_PROGRAM} ${WRKSRC}/e2ps ${STAGEDIR}${PREFIX}/bin + ${LN} -sf ${PREFIX}/bin/e2ps ${STAGEDIR}${PREFIX}/bin/e2lpr + @${MKDIR} ${STAGEDIR}${DOCSDIR} + ${INSTALL_DATA} ${PORTDOCS:S|^|${WRKSRC}/|} ${STAGEDIR}${DOCSDIR} -.include <bsd.port.post.mk> +.include <bsd.port.mk>
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201405172035.s4HKZuIp077757>