2019-07-14 00:39:34 +00:00
|
|
|
# $OpenBSD: Makefile,v 1.66 2019/07/14 00:39:38 naddy Exp $
|
2001-05-06 03:19:44 +00:00
|
|
|
|
2008-11-23 20:28:32 +00:00
|
|
|
COMMENT= format files for printing on PostScript printers
|
2000-04-11 06:09:57 +00:00
|
|
|
|
2008-11-23 20:28:32 +00:00
|
|
|
DISTNAME= a2ps-4.14
|
2019-05-20 22:15:00 +00:00
|
|
|
REVISION= 15
|
2013-11-02 08:44:19 +00:00
|
|
|
|
|
|
|
SHARED_LIBS += a2ps 2.0 # 2.0
|
|
|
|
|
1998-01-31 21:54:44 +00:00
|
|
|
CATEGORIES= print
|
|
|
|
|
2013-11-09 23:19:01 +00:00
|
|
|
HOMEPAGE= https://www.gnu.org/software/a2ps/
|
2007-08-04 22:04:11 +00:00
|
|
|
|
2010-03-21 10:14:50 +00:00
|
|
|
MAINTAINER= Antoine Jacoutot <ajacoutot@openbsd.org>
|
|
|
|
|
2008-11-23 20:28:32 +00:00
|
|
|
# GPLv3 or later, includes AFM files from Adobe with still unclear
|
|
|
|
# terms (see ${WRKSRC}/afm/MustRead.html).
|
2019-07-14 00:39:34 +00:00
|
|
|
PERMIT_PACKAGE= Yes
|
2008-11-23 20:28:32 +00:00
|
|
|
|
2017-11-21 00:12:59 +00:00
|
|
|
WANTLIB = c iconv intl m paper
|
2000-02-12 08:02:07 +00:00
|
|
|
|
2007-08-04 22:04:11 +00:00
|
|
|
MASTER_SITES= ${MASTER_SITE_GNU:=a2ps/}
|
1999-02-21 04:26:09 +00:00
|
|
|
|
2013-11-02 08:44:19 +00:00
|
|
|
BUILD_DEPENDS= devel/gperf \
|
|
|
|
print/psutils
|
1998-08-10 22:01:56 +00:00
|
|
|
|
2013-11-02 08:44:19 +00:00
|
|
|
RUN_DEPENDS= print/psutils
|
2008-11-23 20:28:32 +00:00
|
|
|
|
2019-05-20 22:15:00 +00:00
|
|
|
LIB_DEPENDS= devel/gettext,-runtime \
|
2017-11-21 00:12:59 +00:00
|
|
|
print/libpaper
|
2000-04-22 12:12:07 +00:00
|
|
|
|
2013-11-02 08:44:19 +00:00
|
|
|
MODGNU_CONFIG_GUESS_DIRS= ${WRKSRC} ${WRKSRC}/auxdir
|
1998-01-31 21:54:44 +00:00
|
|
|
|
2013-11-02 08:44:19 +00:00
|
|
|
CONFIGURE_STYLE=gnu
|
2002-12-14 14:09:07 +00:00
|
|
|
CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include" \
|
2005-12-24 05:30:25 +00:00
|
|
|
LDFLAGS="-L${LOCALBASE}/lib" \
|
2005-12-24 09:14:42 +00:00
|
|
|
ac_cv_prog_EMACS=no \
|
|
|
|
lispdir=${PREFIX}/share/a2ps/emacs
|
2008-11-23 20:28:32 +00:00
|
|
|
|
2014-10-31 15:38:22 +00:00
|
|
|
.for p in bzip2 gv ghostview dvips pdf2ps tex latex ps2pdf \
|
2013-11-02 08:44:19 +00:00
|
|
|
bzip distill netscape html2ps grog convert
|
2005-12-24 09:14:42 +00:00
|
|
|
CONFIGURE_ENV+= ac_cv_prog_COM_$p=no
|
|
|
|
.endfor
|
1998-01-31 21:54:44 +00:00
|
|
|
|
2008-11-23 20:28:32 +00:00
|
|
|
pre-configure:
|
2009-04-09 09:25:20 +00:00
|
|
|
${SUBST_CMD} ${WRKSRC}/configure \
|
2017-09-26 08:57:19 +00:00
|
|
|
${WRKSRC}/etc/a2ps_cfg.in \
|
|
|
|
${WRKSRC}/etc/a2ps-site.cfg.in
|
2008-11-23 20:28:32 +00:00
|
|
|
|
1998-01-31 21:54:44 +00:00
|
|
|
pre-build:
|
|
|
|
/usr/bin/touch $(WRKSRC)/doc/*.info
|
|
|
|
/usr/bin/touch $(WRKSRC)/doc/*.dvi
|
|
|
|
|
2000-06-11 01:13:42 +00:00
|
|
|
post-install:
|
2013-11-02 08:44:19 +00:00
|
|
|
${INSTALL_DATA_DIR} ${PREFIX}/share/examples/a2ps
|
|
|
|
mv ${WRKINST}${SYSCONFDIR}/a2ps.cfg ${PREFIX}/share/examples/a2ps
|
|
|
|
mv ${WRKINST}${SYSCONFDIR}/a2ps-site.cfg ${PREFIX}/share/examples/a2ps
|
1998-01-31 21:54:44 +00:00
|
|
|
|
|
|
|
.include <bsd.port.mk>
|