Skip to content

Commit

Permalink
- Add stage support
Browse files Browse the repository at this point in the history
  • Loading branch information
daniloegea committed Dec 9, 2013
1 parent c14d26a commit eaa4dd8
Show file tree
Hide file tree
Showing 3 changed files with 32 additions and 10 deletions.
3 changes: 0 additions & 3 deletions misc/deco/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -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>
37 changes: 30 additions & 7 deletions misc/deco/files/patch-Makefile.in
Original file line number Diff line number Diff line change
@@ -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:

2 changes: 2 additions & 0 deletions misc/deco/pkg-plist
Original file line number Diff line number Diff line change
@@ -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
Expand Down

0 comments on commit eaa4dd8

Please sign in to comment.