summaryrefslogtreecommitdiff
path: root/x11/xloadimage/Makefile
blob: 3e2d2399588dfe397e28fc9f57309ba883b17908 (plain) (blame)
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
# New ports collection makefile for:    xloadimage
# Version required:     4.1
# Date created:         9 January 1994
# Whom:                 jmz
#
# $Id: Makefile,v 1.14 1998/10/16 02:12:34 jseger Exp $
#

DISTNAME=	xloadimage.4.1
PKGNAME=	xloadimage-4.1
CATEGORIES=	x11
MASTER_SITES=	ftp://ftp.cdrom.com/pub/X11/R5contrib/

MAINTAINER=	jmz@FreeBSD.org

MAN1=		xloadimage.1
MANCOMPRESSED=	yes

USE_GMAKE=	yes
USE_X_PREFIX=	yes

ALL_TARGET=

do-configure:
	cd ${WRKSRC} && make configure </dev/null
	cd ${WRKSRC} && ${ECHO} SYSPATHFILE=${X11BASE}/lib/X11/app-defaults/Xloadimage >> Makefile

do-install:
	cd ${WRKSRC} && ${INSTALL_PROGRAM} xloadimage uufilter ${X11BASE}/bin
	cd ${WRKSRC} && ${INSTALL_DATA} xloadimagerc ${X11BASE}/lib/X11/app-defaults/Xloadimage
	cd ${WRKSRC} && ${SED} -e s:/usr/lib/X11/Xloadimage:${X11BASE}/lib/X11/app-defaults/Xloadimage: < xloadimage.man |${GZIP_CMD} >${X11BASE}/man/man1/xloadimage.1.gz

.include <bsd.port.mk>