diff options
author | vanilla <vanilla@FreeBSD.org> | 2014-07-02 15:49:34 +0800 |
---|---|---|
committer | vanilla <vanilla@FreeBSD.org> | 2014-07-02 15:49:34 +0800 |
commit | 427511d5f53f1dee2bdc1b28006062e68952e52f (patch) | |
tree | c2a82e2a846fa3e1ae71c440496a55d8f82b921f /vietnamese | |
parent | 53ddfb54da08e00d08bbf24b0e16a8e2357d7d66 (diff) | |
download | freebsd-ports-gnome-427511d5f53f1dee2bdc1b28006062e68952e52f.tar.gz freebsd-ports-gnome-427511d5f53f1dee2bdc1b28006062e68952e52f.tar.zst freebsd-ports-gnome-427511d5f53f1dee2bdc1b28006062e68952e52f.zip |
Stagify.
Approved by: portmgr@ (blanket approval)
Diffstat (limited to 'vietnamese')
-rw-r--r-- | vietnamese/vn7to8/Makefile | 12 | ||||
-rw-r--r-- | vietnamese/vn7to8/files/patch-01 | 15 | ||||
-rw-r--r-- | vietnamese/vn7to8/files/patch-Makefile | 24 | ||||
-rw-r--r-- | vietnamese/vn7to8/pkg-plist | 3 |
4 files changed, 32 insertions, 22 deletions
diff --git a/vietnamese/vn7to8/Makefile b/vietnamese/vn7to8/Makefile index a70d1604c89f..28e944136ce8 100644 --- a/vietnamese/vn7to8/Makefile +++ b/vietnamese/vn7to8/Makefile @@ -14,16 +14,14 @@ COMMENT= Converts between 7-bit Vietnamese VIQR and 8-bit VISCII formats BUILD_DEPENDS= ${LOCALBASE}/lib/libviqr.a:${PORTSDIR}/vietnamese/libviet CFLAGS+= -I${PREFIX}/include/viet -MAN1= vn7to8.1 vn8to7.1 vn80to81.1 -NO_STAGE= yes post-extract: - @ ${MV} ${WRKDIR}/lib ${WRKDIR}/DONT.lib - @ ${MV} ${WRKDIR}/include ${WRKDIR}/DONT.include + @${MV} ${WRKDIR}/lib ${WRKDIR}/DONT.lib + @${MV} ${WRKDIR}/include ${WRKDIR}/DONT.include post-install: - @${INSTALL_MAN} ${FILESDIR}/vn7to8.1 ${PREFIX}/man/man1 - @${INSTALL_MAN} ${FILESDIR}/vn80to81.1 ${PREFIX}/man/man1 - @${INSTALL_MAN} ${FILESDIR}/vn8to7.1 ${PREFIX}/man/man1 + @${INSTALL_MAN} ${FILESDIR}/vn7to8.1 ${STAGEDIR}${PREFIX}/man/man1 + @${INSTALL_MAN} ${FILESDIR}/vn80to81.1 ${STAGEDIR}${PREFIX}/man/man1 + @${INSTALL_MAN} ${FILESDIR}/vn8to7.1 ${STAGEDIR}${PREFIX}/man/man1 .include <bsd.port.mk> diff --git a/vietnamese/vn7to8/files/patch-01 b/vietnamese/vn7to8/files/patch-01 deleted file mode 100644 index da700624de6c..000000000000 --- a/vietnamese/vn7to8/files/patch-01 +++ /dev/null @@ -1,15 +0,0 @@ ---- Makefile.orig Mon Sep 14 15:49:45 1992 -+++ Makefile Sun Feb 11 14:13:39 2001 -@@ -4,9 +4,9 @@ - - SHELL = /bin/sh - CC = cc --VNLIBDIR= ../lib --VNINCDIR= ../include --BINDIR = /local/usr/bin -+VNLIBDIR= $(PREFIX)/lib -+VNINCDIR= $(PREFIX)/include/viet -+BINDIR = ${PREFIX}/bin - LIBS = $(VNLIBDIR)/libviqr.a $(VNLIBDIR)/libvntype.a - - INC = -I$(VNINCDIR) diff --git a/vietnamese/vn7to8/files/patch-Makefile b/vietnamese/vn7to8/files/patch-Makefile new file mode 100644 index 000000000000..4d5950238477 --- /dev/null +++ b/vietnamese/vn7to8/files/patch-Makefile @@ -0,0 +1,24 @@ +--- Makefile.orig 1992-09-15 06:49:45.000000000 +0800 ++++ Makefile 2014-07-02 15:47:22.159471575 +0800 +@@ -4,9 +4,9 @@ + + SHELL = /bin/sh + CC = cc +-VNLIBDIR= ../lib +-VNINCDIR= ../include +-BINDIR = /local/usr/bin ++VNLIBDIR= $(PREFIX)/lib ++VNINCDIR= $(PREFIX)/include/viet ++BINDIR = ${PREFIX}/bin + LIBS = $(VNLIBDIR)/libviqr.a $(VNLIBDIR)/libvntype.a + + INC = -I$(VNINCDIR) +@@ -34,7 +34,7 @@ all: $(PROGRAMS) + install: $(PROGRAMS) + @for prog in $(PROGRAMS) ; do \ + echo install -s $$prog $(BINDIR) ;\ +- install -s $$prog $(BINDIR) ;\ ++ install -s $$prog $(DESTDIR)$(BINDIR) ;\ + done + + $(PROG1): $(OBJS1) $(LIBS) diff --git a/vietnamese/vn7to8/pkg-plist b/vietnamese/vn7to8/pkg-plist index 7731ebd18a7a..1c54a29785b0 100644 --- a/vietnamese/vn7to8/pkg-plist +++ b/vietnamese/vn7to8/pkg-plist @@ -1,3 +1,6 @@ bin/vn7to8 bin/vn8to7 bin/vn80to81 +man/man1/vn7to8.1.gz +man/man1/vn8to7.1.gz +man/man1/vn80to81.1.gz |