aboutsummaryrefslogtreecommitdiff
path: root/vietnamese
diff options
context:
space:
mode:
authorAlex Kozlov <ak@FreeBSD.org>2017-11-08 06:04:45 +0000
committerAlex Kozlov <ak@FreeBSD.org>2017-11-08 06:04:45 +0000
commitf5fb66c7239d2df2a6aaf87d83c792a2c0045fb1 (patch)
treeceb2cabb075ed6fa25ec297480c14d0fd322e3b4 /vietnamese
parent035f2c8075fba1b154eb450ec1cb8450070ff638 (diff)
downloadports-f5fb66c7239d2df2a6aaf87d83c792a2c0045fb1.tar.gz
ports-f5fb66c7239d2df2a6aaf87d83c792a2c0045fb1.zip
- Remove archivers/zip build dependency
- Use PLIST_FILES
Notes
Notes: svn path=/head/; revision=453718
Diffstat (limited to 'vietnamese')
-rw-r--r--vietnamese/unicode-uhoai/Makefile9
-rw-r--r--vietnamese/unicode-uhoai/pkg-plist1
-rw-r--r--vietnamese/vis2u/Makefile7
-rw-r--r--vietnamese/vis2u/pkg-plist1
4 files changed, 9 insertions, 9 deletions
diff --git a/vietnamese/unicode-uhoai/Makefile b/vietnamese/unicode-uhoai/Makefile
index 9f9d1fd340a0..582920dc1df3 100644
--- a/vietnamese/unicode-uhoai/Makefile
+++ b/vietnamese/unicode-uhoai/Makefile
@@ -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>
diff --git a/vietnamese/unicode-uhoai/pkg-plist b/vietnamese/unicode-uhoai/pkg-plist
deleted file mode 100644
index 430fcfdf6c70..000000000000
--- a/vietnamese/unicode-uhoai/pkg-plist
+++ /dev/null
@@ -1 +0,0 @@
-%%FONTSDIR%%/uhoaiw21.ttf
diff --git a/vietnamese/vis2u/Makefile b/vietnamese/vis2u/Makefile
index 25e72df0b5ca..d2243a4b2804 100644
--- a/vietnamese/vis2u/Makefile
+++ b/vietnamese/vis2u/Makefile
@@ -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
diff --git a/vietnamese/vis2u/pkg-plist b/vietnamese/vis2u/pkg-plist
deleted file mode 100644
index 49439246eb72..000000000000
--- a/vietnamese/vis2u/pkg-plist
+++ /dev/null
@@ -1 +0,0 @@
-bin/vis2u