|
Revision 16916, 1.1 KB
(checked in by dmichelsen, 4 months ago)
|
|
WHOLE TREE: Explicitly set GARTYPE to current default 'v2'
|
| Line | |
|---|
| 1 | NAME = enscript |
|---|
| 2 | VERSION = 1.6.5.2 |
|---|
| 3 | CATEGORIES = utils |
|---|
| 4 | GARTYPE = v2 |
|---|
| 5 | |
|---|
| 6 | DESCRIPTION = GNU enscript converts ASCII files to PostScript |
|---|
| 7 | define BLURB |
|---|
| 8 | GNU enscript is a free replacement for the Adobe's enscript program. |
|---|
| 9 | Enscript converts ASCII files to PostScript and spools generated PostScript |
|---|
| 10 | output to the specified printer or leaves it to file. Enscript can be easily |
|---|
| 11 | extended to handle different output media and it has many options that can |
|---|
| 12 | be used to customize printouts. |
|---|
| 13 | endef |
|---|
| 14 | |
|---|
| 15 | MASTER_SITES = $(GNU_MIRROR) |
|---|
| 16 | DISTFILES = $(DISTNAME).tar.gz |
|---|
| 17 | |
|---|
| 18 | VENDOR_URL = http://www.gnu.org/s/enscript/ |
|---|
| 19 | |
|---|
| 20 | RUNTIME_DEP_PKGS_CSWenscript += CSWlibintl8 |
|---|
| 21 | |
|---|
| 22 | PRESERVECONF = $(sysconfdir)/enscript.cfg |
|---|
| 23 | MIGRATE_FILES = enscript.cfg |
|---|
| 24 | |
|---|
| 25 | # This is the location where the font was taken from |
|---|
| 26 | CHECKPKG_OVERRIDES_CSWenscript += file-with-bad-content|/usr/share|root/opt/csw/share/enscript/afm/matrix.pfa |
|---|
| 27 | |
|---|
| 28 | include gar/category.mk |
|---|
| 29 | |
|---|
| 30 | # Adjust font pathes |
|---|
| 31 | post-extract-modulated: |
|---|
| 32 | -perl -pi -e 's,/usr/local/lib/ps:/usr/lib/ps,/usr/openwin/lib/X11/fonts/F3/afm:/usr/openwin/lib/X11/fonts/Type1/afm:/usr/openwin/lib/X11/fonts/Type1/sun/afm,' \ |
|---|
| 33 | $(WORKSRC)/afmlib/afm.c \ |
|---|
| 34 | $(WORKSRC)/lib/enscript.cfg.in |
|---|
| 35 | |
|---|