1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-21 00:25:50 +00:00

- Support staging

- Pet check-sanity

Approved by:	portmgr blanket
This commit is contained in:
Dmitry Marakasov 2014-05-11 14:18:54 +00:00
parent e2ee1f0f00
commit 0c12479725
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=353694
7 changed files with 55 additions and 6 deletions

View File

@ -8,5 +8,4 @@ PS= A4
MASTERDIR= ${.CURDIR}/../enscript-letter
NO_STAGE= yes
.include "${MASTERDIR}/Makefile"

View File

@ -12,14 +12,14 @@ DISTNAME= enscript-${PORTVERSION}
MAINTAINER?= rafan@FreeBSD.org
COMMENT= ASCII to PostScript filter
USES= shebangfix
GNU_CONFIGURE= yes
CONFIGURE_ARGS= --disable-nls --with-media=${PS}
NO_STAGE= yes
CONFIGURE_ENV= PERL="${perl_CMD}"
CONFLICTS?= enscript-a4-* enscript-letterdj-*
INFO= enscript
MAN1= diffpp.1 enscript.1 sliceprint.1 states.1
PAPERSIZE?= letter
PS?= Letter

View File

@ -0,0 +1,16 @@
--- afm/Makefile.in.orig 2003-03-05 10:40:06.000000000 +0300
+++ afm/Makefile.in 2014-05-11 17:56:09.000000000 +0400
@@ -319,10 +319,10 @@
install-data-local:
- $(top_srcdir)/mkinstalldirs $(datadir)/enscript
- $(top_srcdir)/mkinstalldirs $(datadir)/enscript/afm
+ $(top_srcdir)/mkinstalldirs $(DESTDIR)$(datadir)/enscript
+ $(top_srcdir)/mkinstalldirs $(DESTDIR)$(datadir)/enscript/afm
for f in $(EXTRA_DIST); do \
- $(INSTALL_DATA) $(srcdir)/$$f $(datadir)/enscript/afm/$$f; \
+ $(INSTALL_DATA) $(srcdir)/$$f $(DESTDIR)$(datadir)/enscript/afm/$$f; \
done
uninstall-local:

View File

@ -0,0 +1,17 @@
--- lib/Makefile.in.orig 2003-03-05 10:40:07.000000000 +0300
+++ lib/Makefile.in 2014-05-11 17:54:53.000000000 +0400
@@ -345,12 +345,8 @@
all-local: enscript.cfg
install-data-local: enscript.cfg
- $(top_srcdir)/mkinstalldirs $(sysconfdir)
- if test -r $(sysconfdir)/enscript.cfg; then \
- cp $(sysconfdir)/enscript.cfg $(sysconfdir)/enscript.cfg.old; \
- else :; \
- fi
- $(INSTALL_DATA) enscript.cfg $(sysconfdir)/enscript.cfg
+ $(top_srcdir)/mkinstalldirs $(DESTDIR)$(sysconfdir)
+ $(INSTALL_DATA) enscript.cfg $(DESTDIR)$(sysconfdir)/enscript.cfg
uninstall-local:
rm -f $(sysconfdir)/enscript.cfg

View File

@ -1,5 +1,5 @@
--- states/hl/Makefile.in.orig Wed Mar 5 01:40:07 2003
+++ states/hl/Makefile.in Tue Mar 2 06:33:27 2004
--- states/hl/Makefile.in.orig 2003-03-05 10:40:07.000000000 +0300
+++ states/hl/Makefile.in 2014-05-11 17:58:23.000000000 +0400
@@ -186,9 +186,9 @@
diffs.st diffu.st elisp.st fortran.st fortran_pp.st haskell.st html.st \
idl.st inf.st java.st javascript.st ksh.st m4.st mail.st makefile.st \
@ -13,3 +13,17 @@
states = $(misc) $(styles) $(languages) $(highlightings)
@@ -330,10 +330,10 @@
install-data-local:
- $(top_srcdir)/mkinstalldirs $(datadir)/enscript
- $(top_srcdir)/mkinstalldirs $(datadir)/enscript/hl
+ $(top_srcdir)/mkinstalldirs $(DESTDIR)$(datadir)/enscript
+ $(top_srcdir)/mkinstalldirs $(DESTDIR)$(datadir)/enscript/hl
for f in $(states); do \
- $(INSTALL_DATA) $(srcdir)/$$f $(datadir)/enscript/hl/$$f; \
+ $(INSTALL_DATA) $(srcdir)/$$f $(DESTDIR)$(datadir)/enscript/hl/$$f; \
done
uninstall-local:

View File

@ -5,6 +5,10 @@ bin/over
bin/sliceprint
bin/states
etc/enscript.cfg
man/man1/diffpp.1.gz
man/man1/enscript.1.gz
man/man1/sliceprint.1.gz
man/man1/states.1.gz
%%DATADIR%%/88591.enc
%%DATADIR%%/885910.enc
%%DATADIR%%/88592.enc

View File

@ -8,5 +8,4 @@ PS= Letterdj
MASTERDIR= ${.CURDIR}/../enscript-letter
NO_STAGE= yes
.include "${MASTERDIR}/Makefile"