aboutsummaryrefslogtreecommitdiffstats
path: root/misc
diff options
context:
space:
mode:
authordanilo <danilo@FreeBSD.org>2013-12-09 21:17:59 +0800
committerdanilo <danilo@FreeBSD.org>2013-12-09 21:17:59 +0800
commitf27f339ac0d38a6db2fde927201f527304b7ffae (patch)
tree254992a511301ca2fdc5d90e88b76fc026d69f6d /misc
parentbc44d6f1922284835b13c3bb36d1022619368f96 (diff)
downloadfreebsd-ports-graphics-f27f339ac0d38a6db2fde927201f527304b7ffae.tar.gz
freebsd-ports-graphics-f27f339ac0d38a6db2fde927201f527304b7ffae.tar.zst
freebsd-ports-graphics-f27f339ac0d38a6db2fde927201f527304b7ffae.zip
- Add stage support
Diffstat (limited to 'misc')
-rw-r--r--misc/deco/Makefile3
-rw-r--r--misc/deco/files/patch-Makefile.in37
-rw-r--r--misc/deco/pkg-plist2
3 files changed, 32 insertions, 10 deletions
diff --git a/misc/deco/Makefile b/misc/deco/Makefile
index 478a0c86958..f3426964379 100644
--- a/misc/deco/Makefile
+++ b/misc/deco/Makefile
@@ -16,8 +16,5 @@ COMMENT= Demos Commander, a free Norton Commander clone
GNU_CONFIGURE= yes
CONFIGURE_ARGS= --libdir=${PREFIX}/share
CONFIGURE_ENV= ac_cv_lib_ncurses_tgetent=no
-MAN1= deco.1
-MANLANG= "" ru.KOI8-R
-NO_STAGE= yes
.include <bsd.port.mk>
diff --git a/misc/deco/files/patch-Makefile.in b/misc/deco/files/patch-Makefile.in
index 126969e8757..f59a130fd60 100644
--- a/misc/deco/files/patch-Makefile.in
+++ b/misc/deco/files/patch-Makefile.in
@@ -1,11 +1,34 @@
---- Makefile.in Tue Jan 4 09:38:18 2000
-+++ Makefile.in Sun Mar 23 23:05:33 2003
-@@ -44,7 +44,7 @@
+--- ./Makefile.in.orig 2000-01-04 05:38:18.000000000 -0200
++++ ./Makefile.in 2013-12-09 11:13:40.000000000 -0200
+@@ -40,23 +40,23 @@
+
+ install: deco $(libdir)/deco $(libdir)/deco/help\
+ $(libdir)/deco/menu $(libdir)/deco/profile
+- $(INSTALL_PROGRAM) deco $(bindir)
++ $(INSTALL_PROGRAM) deco ${DESTDIR}$(bindir)
cd help; for f in *.general *.edit *.view *.hexview; do\
- $(INSTALL_DATA) $$f $(libdir)/deco/help/$$f; done
- $(INSTALL_DATA) ref.man $(mandir)/man1/deco.1
+- $(INSTALL_DATA) $$f $(libdir)/deco/help/$$f; done
+- $(INSTALL_DATA) ref.man $(mandir)/man1/deco.1
- $(INSTALL_DATA) cyrref.man $(mandir)/man1/deco-r.1
-+ $(INSTALL_DATA) cyrref.man $(mandir)/ru.KOI8-R/man1/deco.1
++ $(INSTALL_DATA) $$f ${DESTDIR}$(libdir)/deco/help/$$f; done
++ $(INSTALL_DATA) ref.man ${DESTDIR}$(mandir)/man1/deco.1
++ $(INSTALL_DATA) cyrref.man ${DESTDIR}$(mandir)/ru.KOI8-R/man1/deco.1
$(libdir)/deco:
- mkdir $(libdir)/deco
+- mkdir $(libdir)/deco
++ mkdir ${DESTDIR}$(libdir)/deco
+
+ $(libdir)/deco/help:
+- mkdir $(libdir)/deco/help
++ mkdir ${DESTDIR}$(libdir)/deco/help
+
+ $(libdir)/deco/menu:
+- $(INSTALL_DATA) menu $(libdir)/deco/menu
++ $(INSTALL_DATA) menu ${DESTDIR}$(libdir)/deco/menu
+
+ $(libdir)/deco/profile:
+- $(INSTALL_DATA) profile $(libdir)/deco/profile
++ $(INSTALL_DATA) profile ${DESTDIR}$(libdir)/deco/profile
+
+ uninstall:
+
diff --git a/misc/deco/pkg-plist b/misc/deco/pkg-plist
index d8c6d6393d2..e5a0ca3d215 100644
--- a/misc/deco/pkg-plist
+++ b/misc/deco/pkg-plist
@@ -1,4 +1,6 @@
bin/deco
+man/man1/deco.1.gz
+man/ru.KOI8-R/man1/deco.1.gz
%%DATADIR%%/help/d.edit
%%DATADIR%%/help/d.general
%%DATADIR%%/help/d.hexview