- Add LICENSE

- Strip binary
This commit is contained in:
Dmitry Marakasov 2015-05-11 08:20:14 +00:00
parent 4632387ff0
commit 4865c032b0
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=386056

View file

@ -3,13 +3,16 @@
PORTNAME= ttf2pt1 PORTNAME= ttf2pt1
PORTVERSION= 3.4.4 PORTVERSION= 3.4.4
PORTREVISION= 6 PORTREVISION= 7
CATEGORIES= print CATEGORIES= print
MASTER_SITES= SF MASTER_SITES= SF
MAINTAINER= ports@FreeBSD.org MAINTAINER= ports@FreeBSD.org
COMMENT= True Type Font to Postscript Type 1 Converter COMMENT= True Type Font to Postscript Type 1 Converter
LICENSE= BSD3CLAUSE
LICENSE_FILE= ${WRKSRC}/COPYRIGHT
LIB_DEPENDS= libfreetype.so:${PORTSDIR}/print/freetype2 LIB_DEPENDS= libfreetype.so:${PORTSDIR}/print/freetype2
RUN_DEPENDS= t1asm:${PORTSDIR}/print/t1utils RUN_DEPENDS= t1asm:${PORTSDIR}/print/t1utils
@ -36,6 +39,7 @@ LIBS+= `pkg-config --libs freetype2` \
-L${LOCALBASE}/lib -lm -L${LOCALBASE}/lib -lm
post-install: post-install:
${STRIP_CMD} ${STAGEDIR}${PREFIX}/bin/ttf2pt1
@${SED} -i '' 's,${STAGEDIR},,' ${STAGEDIR}${PREFIX}/bin/ttf2pt1_convert \ @${SED} -i '' 's,${STAGEDIR},,' ${STAGEDIR}${PREFIX}/bin/ttf2pt1_convert \
${STAGEDIR}${PREFIX}/man/man1/ttf2pt1_x2gs.1 \ ${STAGEDIR}${PREFIX}/man/man1/ttf2pt1_x2gs.1 \
${STAGEDIR}${PREFIX}/man/man1/ttf2pt1.1 \ ${STAGEDIR}${PREFIX}/man/man1/ttf2pt1.1 \