aboutsummaryrefslogtreecommitdiffstats
path: root/vietnamese/vis2u
diff options
context:
space:
mode:
authorak <ak@FreeBSD.org>2017-11-08 14:04:45 +0800
committerak <ak@FreeBSD.org>2017-11-08 14:04:45 +0800
commit74207c66935a3473773b147c24734f1cc0fede87 (patch)
treeceb2cabb075ed6fa25ec297480c14d0fd322e3b4 /vietnamese/vis2u
parent3364a19096ab67b5a84bc1d2c6c956b1e9128b59 (diff)
downloadfreebsd-ports-gnome-74207c66935a3473773b147c24734f1cc0fede87.tar.gz
freebsd-ports-gnome-74207c66935a3473773b147c24734f1cc0fede87.tar.zst
freebsd-ports-gnome-74207c66935a3473773b147c24734f1cc0fede87.zip
- Remove archivers/zip build dependency
- Use PLIST_FILES
Diffstat (limited to 'vietnamese/vis2u')
-rw-r--r--vietnamese/vis2u/Makefile7
-rw-r--r--vietnamese/vis2u/pkg-plist1
2 files changed, 4 insertions, 4 deletions
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