summaryrefslogtreecommitdiffstats
path: root/print/pdq/Makefile
blob: c4f62c7ace8d1447755fef205f94bc0b32defe11 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
# New ports collection makefile for:	pdq
# Version required:	2.1.1
# Date created:		15 May 1999
# Whom:			Yin-Jieh Chen <yinjieh@csie.nctu.edu.tw>
#
# $FreeBSD$
#

DISTNAME=	pdq-2.1.1
CATEGORIES=	print
MASTER_SITES=	ftp://feynman.tam.uiuc.edu/pub/pdq/
EXTRACT_SUFX=	.tgz

MAINTAINER=	yinjieh@csie.nctu.edu.tw

LIB_DEPENDS=	gtk12.2:${PORTSDIR}/x11-toolkits/gtk12

GLIB_CONFIG?=	${LOCALBASE}/bin/glib12-config
GTK_CONFIG?=	${X11BASE}/bin/gtk12-config

GNU_CONFIGURE=	yes
CONFIGURE_ENV=	GTK_CONFIG="${GTK_CONFIG}" \
		GLIB_CONFIG="${GLIB_CONFIG}"

MAN1=		lpd_cancel.1 lpd_print.1 lpd_status.1 pdq.1 xpdq.1
MAN5=		printrc.5

post-install:
	${CP} ${WRKSRC}/sample_etc_printrc ${PREFIX}/etc/printrc.sample
	strip ${PREFIX}/bin/pdq
	strip ${PREFIX}/bin/xpdq
	strip ${PREFIX}/bin/lpd_cancel
	strip ${PREFIX}/bin/lpd_print
	strip ${PREFIX}/bin/lpd_status
	@${CAT} pkg/MESSAGE

.include <bsd.port.mk>
OpenPOWER on IntegriCloud