- take over as MAINTAINER from ports@
- FAKE, CONFIGURE_STYLE, HOMEPAGE - move sample cfg file from lib to share/examples/enscript
This commit is contained in:
parent
685a021459
commit
88d80c0965
@ -1,10 +1,11 @@
|
||||
# $OpenBSD: Makefile,v 1.9 2000/04/09 17:37:51 espie Exp $
|
||||
# $OpenBSD: Makefile,v 1.10 2000/07/28 03:14:58 matt Exp $
|
||||
|
||||
DISTNAME= enscript-1.6.1
|
||||
CATEGORIES= print
|
||||
FAKE=No
|
||||
|
||||
MAINTAINER= ports@openbsd.org
|
||||
MAINTAINER= matt@openbsd.org
|
||||
|
||||
HOMEPAGE= http://people.ssh.fi/mtr/genscript/
|
||||
|
||||
LICENSE_TYPE= GPL
|
||||
PERMIT_PACKAGE_CDROM= YES
|
||||
@ -15,10 +16,8 @@ PERMIT_DISTFILES_FTP= YES
|
||||
MASTER_SITES= ${MASTER_SITE_GNU}
|
||||
MASTER_SITE_SUBDIR= enscript
|
||||
|
||||
GNU_CONFIGURE= yes
|
||||
CONFIGURE_STYLE= gnu
|
||||
CONFIGURE_ARGS+= --with-media=Letter
|
||||
|
||||
post-install:
|
||||
@PREFIX="${PREFIX}" ${SH} ${PKGDIR}/INSTALL ${DISTNAME} POST-INSTALL
|
||||
|
||||
.include <bsd.port.mk>
|
||||
|
||||
|
@ -10,8 +10,8 @@
|
||||
- else :; \
|
||||
- fi
|
||||
- $(INSTALL_DATA) enscript.cfg $(sysconfdir)/enscript.cfg
|
||||
+ $(top_srcdir)/mkinstalldirs $(libdir)
|
||||
+ $(INSTALL_DATA) enscript.cfg $(libdir)/enscript.cfg-sample
|
||||
+ $(top_srcdir)/mkinstalldirs $(DESTDIR)$(datadir)/examples/enscript
|
||||
+ $(INSTALL_DATA) enscript.cfg $(DESTDIR)$(datadir)/examples/enscript/enscript.cfg-sample
|
||||
|
||||
uninstall-local:
|
||||
rm -f $(sysconfdir)/enscript.cfg
|
22
print/enscript/patches/patch-po-Makefile_in_in
Normal file
22
print/enscript/patches/patch-po-Makefile_in_in
Normal file
@ -0,0 +1,22 @@
|
||||
--- po/Makefile.in.in.orig Thu Jul 27 22:06:37 2000
|
||||
+++ po/Makefile.in.in Thu Jul 27 22:07:50 2000
|
||||
@@ -124,15 +124,15 @@
|
||||
install-data-no: all
|
||||
install-data-yes: all
|
||||
if test -r $(MKINSTALLDIRS); then \
|
||||
- $(MKINSTALLDIRS) $(datadir); \
|
||||
+ $(MKINSTALLDIRS) $(DESTDIR)$(datadir); \
|
||||
else \
|
||||
- $(top_srcdir)/mkinstalldirs $(datadir); \
|
||||
+ $(top_srcdir)/mkinstalldirs $(DESTDIR)$(datadir); \
|
||||
fi
|
||||
@catalogs='$(CATALOGS)'; \
|
||||
for cat in $$catalogs; do \
|
||||
case "$$cat" in \
|
||||
- *.gmo) destdir=$(gnulocaledir);; \
|
||||
- *) destdir=$(localedir);; \
|
||||
+ *.gmo) destdir=$(DESTDIR)$(gnulocaledir);; \
|
||||
+ *) destdir=$(DESTDIR)$(localedir);; \
|
||||
esac; \
|
||||
lang=`echo $$cat | sed 's/$(CATOBJEXT)$$//'`; \
|
||||
dir=$$destdir/$$lang/LC_MESSAGES; \
|
13
print/enscript/patches/patch-states-Makefile_in
Normal file
13
print/enscript/patches/patch-states-Makefile_in
Normal file
@ -0,0 +1,13 @@
|
||||
--- states/Makefile.in.orig Thu Jul 27 22:09:48 2000
|
||||
+++ states/Makefile.in Thu Jul 27 22:11:26 2000
|
||||
@@ -493,8 +493,8 @@
|
||||
$(srcdir)/over.in > over
|
||||
|
||||
install-data-local: enscript.st
|
||||
- $(top_srcdir)/mkinstalldirs $(datadir)/enscript
|
||||
- $(INSTALL_DATA) $(srcdir)/enscript.st $(datadir)/enscript/enscript.st
|
||||
+ $(top_srcdir)/mkinstalldirs $(DESTDIR)$(datadir)/enscript
|
||||
+ $(INSTALL_DATA) $(srcdir)/enscript.st $(DESTDIR)$(datadir)/enscript/enscript.st
|
||||
|
||||
uninstall-local:
|
||||
rm -f $(datadir)/enscript/enscript.st
|
@ -31,3 +31,5 @@ Enscript supports following character sets:
|
||||
- koi8 Adobe Standard Cyrillic Font KOI8 charset
|
||||
- ps PostScript font's default encoding
|
||||
- pslatin1 PostScript interpreter's `ISOLatin1Encoding'
|
||||
|
||||
WWW: http://people.ssh.fi/mtr/genscript/
|
||||
|
@ -1,5 +1,5 @@
|
||||
#!/bin/sh
|
||||
# $OpenBSD: INSTALL,v 1.2 1999/04/10 07:14:56 marc Exp $
|
||||
# $OpenBSD: INSTALL,v 1.3 2000/07/28 03:14:59 matt Exp $
|
||||
#
|
||||
# Pre/post-installation setup of enscript
|
||||
|
||||
@ -7,7 +7,7 @@ set -e
|
||||
PATH=/bin:/usr/bin:/sbin:/usr/sbin
|
||||
PREFIX=${PREFIX:-/usr/local}
|
||||
CONFIG_FILE=/etc/enscript.cfg
|
||||
CONFIG_SAMPLE=${PREFIX}/lib/enscript.cfg-sample
|
||||
CONFIG_SAMPLE=${PREFIX}/share/examples/enscript.cfg-sample
|
||||
|
||||
if [ $# -ne 2 ]; then
|
||||
echo "usage: $0 distname { PRE-INSTALL | POST-INSTALL }" >&2
|
||||
|
@ -1,25 +1,28 @@
|
||||
@comment $OpenBSD: PLIST,v 1.4 2000/07/28 03:14:59 matt Exp $
|
||||
bin/diffpp
|
||||
bin/sliceprint
|
||||
bin/enscript
|
||||
bin/mkafmmap
|
||||
bin/states
|
||||
bin/over
|
||||
bin/sliceprint
|
||||
bin/states
|
||||
man/man1/diffpp.1
|
||||
man/man1/enscript.1
|
||||
man/man1/sliceprint.1
|
||||
man/man1/states.1
|
||||
man/man1/enscript.1
|
||||
lib/enscript.cfg-sample
|
||||
share/locale/de/LC_MESSAGES/enscript.mo
|
||||
share/locale/fr/LC_MESSAGES/enscript.mo
|
||||
share/locale/nl/LC_MESSAGES/enscript.mo
|
||||
share/locale/sl/LC_MESSAGES/enscript.mo
|
||||
share/locale/es/LC_MESSAGES/enscript.mo
|
||||
share/locale/fi/LC_MESSAGES/enscript.mo
|
||||
share/enscript/font.map
|
||||
share/enscript/88591.enc
|
||||
share/enscript/88592.enc
|
||||
share/enscript/88593.enc
|
||||
share/enscript/88594.enc
|
||||
share/enscript/88595.enc
|
||||
share/enscript/88597.enc
|
||||
share/enscript/a2ps.hdr
|
||||
share/enscript/agd.afm
|
||||
share/enscript/agdo.afm
|
||||
share/enscript/agw.afm
|
||||
share/enscript/agwo.afm
|
||||
share/enscript/ascii.enc
|
||||
share/enscript/asciidkno.enc
|
||||
share/enscript/asciifise.enc
|
||||
share/enscript/bkd.afm
|
||||
share/enscript/bkdi.afm
|
||||
share/enscript/bkl.afm
|
||||
@ -28,6 +31,14 @@ share/enscript/cob.afm
|
||||
share/enscript/cobo.afm
|
||||
share/enscript/com.afm
|
||||
share/enscript/coo.afm
|
||||
share/enscript/edd.hdr
|
||||
share/enscript/emacs.hdr
|
||||
share/enscript/enscript.hdr
|
||||
share/enscript/enscript.pro
|
||||
share/enscript/enscript.st
|
||||
share/enscript/font.map
|
||||
share/enscript/frame.hdr
|
||||
share/enscript/hp8.enc
|
||||
share/enscript/hv.afm
|
||||
share/enscript/hvb.afm
|
||||
share/enscript/hvbo.afm
|
||||
@ -40,6 +51,10 @@ share/enscript/hvnb.afm
|
||||
share/enscript/hvnbo.afm
|
||||
share/enscript/hvno.afm
|
||||
share/enscript/hvo.afm
|
||||
share/enscript/ibmpc.enc
|
||||
share/enscript/koi8.enc
|
||||
share/enscript/mac.enc
|
||||
share/enscript/mp.hdr
|
||||
share/enscript/ncb.afm
|
||||
share/enscript/ncbi.afm
|
||||
share/enscript/nci.afm
|
||||
@ -48,36 +63,23 @@ share/enscript/pob.afm
|
||||
share/enscript/pobi.afm
|
||||
share/enscript/poi.afm
|
||||
share/enscript/por.afm
|
||||
share/enscript/ps.enc
|
||||
share/enscript/pslatin1.enc
|
||||
share/enscript/simple.hdr
|
||||
share/enscript/sy.afm
|
||||
share/enscript/tib.afm
|
||||
share/enscript/tibi.afm
|
||||
share/enscript/tii.afm
|
||||
share/enscript/tir.afm
|
||||
share/enscript/vms.enc
|
||||
share/enscript/zcmi.afm
|
||||
share/enscript/zd.afm
|
||||
share/enscript/ascii.enc
|
||||
share/enscript/asciifise.enc
|
||||
share/enscript/asciidkno.enc
|
||||
share/enscript/hp8.enc
|
||||
share/enscript/ibmpc.enc
|
||||
share/enscript/koi8.enc
|
||||
share/enscript/88591.enc
|
||||
share/enscript/88592.enc
|
||||
share/enscript/88593.enc
|
||||
share/enscript/88594.enc
|
||||
share/enscript/88595.enc
|
||||
share/enscript/88597.enc
|
||||
share/enscript/mac.enc
|
||||
share/enscript/ps.enc
|
||||
share/enscript/vms.enc
|
||||
share/enscript/pslatin1.enc
|
||||
share/enscript/a2ps.hdr
|
||||
share/enscript/edd.hdr
|
||||
share/enscript/emacs.hdr
|
||||
share/enscript/enscript.hdr
|
||||
share/enscript/frame.hdr
|
||||
share/enscript/mp.hdr
|
||||
share/enscript/simple.hdr
|
||||
share/enscript/enscript.pro
|
||||
share/enscript/enscript.st
|
||||
share/examples/enscript/enscript.cfg-sample
|
||||
share/locale/de/LC_MESSAGES/enscript.mo
|
||||
share/locale/es/LC_MESSAGES/enscript.mo
|
||||
share/locale/fi/LC_MESSAGES/enscript.mo
|
||||
share/locale/fr/LC_MESSAGES/enscript.mo
|
||||
share/locale/nl/LC_MESSAGES/enscript.mo
|
||||
share/locale/sl/LC_MESSAGES/enscript.mo
|
||||
@dirrm share/examples/enscript
|
||||
@dirrm share/enscript
|
||||
|
Loading…
Reference in New Issue
Block a user