freebsd-ports/print/hp2xx/Makefile
Baptiste Daroussin 7990f81066 Install texinfo files (GNU info) into ${PREFIX}/share/info
After a discussion on the mailing list on moving manpages to
${PREFIX}/share/man for consistency with base where it is
installed in usr/share/man, it appeared the same should happen
to GNU info files which were installed under share in base and
not in ports.

Now texinfo is not in base on any of the supported version of FreeBSD
it is possible to proceed to this move and it is easier to do than
the manpage change.

Other benefit than consistency are less patching: all build tools but
cmake are expecting info files to be under share/info and cmake (patched here)
was having an exception for BSD so the patch makes FreeBSD case less
specific for them

Bump revision of all impacted ports

PR:		232907
exp-run by:	antoine
Differential Revision:	https://reviews.freebsd.org/D17816
2018-11-10 18:12:57 +00:00

39 lines
853 B
Makefile

# Created by: Lars Koeller
# $FreeBSD$
PORTNAME= hp2xx
PORTVERSION= 3.4.4
PORTREVISION= 8
CATEGORIES= print x11
MASTER_SITES= GNU
MAINTAINER= ports@FreeBSD.org
COMMENT= HPGL to vector and raster formats converter and previewer for X11
LICENSE= GPLv2+
LIB_DEPENDS= libpng.so:graphics/png \
libtiff.so:graphics/tiff
WRKSRC_SUBDIR= sources
USES= makeinfo
MAKE_ARGS= infodir=${PREFIX}/${INFO_PATH}
MAKE_ENV= DEFINES="${CPPFLAGS}" ALL_LIBS="${LDFLAGS}"
CPPFLAGS+= -DUNIX -I${LOCALBASE}/include
LDFLAGS+= -lm -L${LOCALBASE}/lib -ltiff -lpng -lz
INFO= hp2xx
PLIST_FILES= bin/hp2xx man/man1/hp2xx.1.gz
OPTIONS_DEFINE= X11
OPTIONS_DEFAULT= X11
X11_USE= XORG=x11
X11_MAKE_ENV= PREVIEWER=to_x11
X11_MAKE_ENV_OFF= PREVIEWER=no_prev
X11_CPPFLAGS= -DHAS_UNIX_X11 -I${LOCALBASE}/include
X11_LDFLAGS= -L${LOCALBASE}/lib -lX11
.include <bsd.port.mk>