1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-20 00:21:35 +00:00

- Remove archivers/zip build dependency

- Use PLIST_FILES
This commit is contained in:
Alex Kozlov 2017-11-08 06:04:45 +00:00
parent 035f2c8075
commit f5fb66c723
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=453718
4 changed files with 9 additions and 9 deletions

View File

@ -11,15 +11,16 @@ DISTNAME= uhoaiw21
MAINTAINER= ports@FreeBSD.org
COMMENT= Unicode TrueType Font with UHoai Vietnamese encoding
USES= fonts zip:infozip
USES= fonts zip
NO_WRKSUBDIR= yes
NO_BUILD= taken care of in do-install target
NO_BUILD= yes
PLIST_FILES= %%FONTSDIR%%/uhoaiw21.ttf
FONTNAME= TrueType
EXTRACT_BEFORE_ARGS= -qoL
do-install:
@${MKDIR} ${STAGEDIR}${FONTSDIR}
${INSTALL_DATA} ${WRKSRC}/uhoaiw21.ttf ${STAGEDIR}${FONTSDIR}
${INSTALL_DATA} ${WRKSRC}/UHOAIW21.TTF ${STAGEDIR}${FONTSDIR}/uhoaiw21.ttf
.include <bsd.port.mk>

View File

@ -1 +0,0 @@
%%FONTSDIR%%/uhoaiw21.ttf

View File

@ -10,12 +10,13 @@ DISTNAME= ${PORTNAME}${PORTVERSION:S/.//g}
MAINTAINER= ports@FreeBSD.org
COMMENT= VISCII->Unicode conversion
USES= zip:infozip
USES= zip
NO_WRKSUBDIR= yes
EXTRACT_BEFORE_ARGS= -qoL
PLIST_FILES= bin/vis2u
do-build:
cd ${WRKSRC} ; make vis2u
${CC} -x c ${CFLAGS} ${WRKSRC}/VIS2U.C -o ${WRKSRC}/vis2u
do-install:
${INSTALL_PROGRAM} ${WRKSRC}/vis2u ${STAGEDIR}${PREFIX}/bin

View File

@ -1 +0,0 @@
bin/vis2u