blob: 5d472ff8bc2ba08637f8baf7e19397dad9b59c41 (
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
38
39
40
41
42
43
44
45
46
47
48
49
50
51
|
# New ports collection makefile for: xloadimage
# Date created: 9 January 1994
# Whom: jmz
#
# $FreeBSD$
#
VERSION= 4.1
REVISION= 6
PORTNAME= xloadimage
PORTVERSION= ${VERSION}.${REVISION}
CATEGORIES= x11 graphics
MASTER_SITES= ftp://ftp.x.org/R5contrib/ \
ftp://ftp.freesoftware.com/pub/X11/R5contrib/
DISTNAME= ${PORTNAME}.${VERSION}
PATCH_SITES= ftp://ftp.debian.org/debian/pool/main/x/xloadimage/ \
ftp://ftp.de.debian.org/debian/pool/main/x/xloadimage/
PATCHFILES= xloadimage_${VERSION}-${REVISION}.diff.gz
PATCH_DIST_STRIP= -p1
MAINTAINER= jmz@FreeBSD.org
LIB_DEPENDS= jpeg.9:${PORTSDIR}/graphics/jpeg \
png.4:${PORTSDIR}/graphics/png \
tiff.4:${PORTSDIR}/graphics/tiff
GNU_CONFIGURE= yes
CONFIGURE_ENV= CPPFLAGS=-I${LOCALBASE}/include \
LDFLAGS=-L${LOCALBASE}/lib
MAN1= xloadimage.1 uufilter.1
MLINKS= xloadimage.1 xsetbg.1 \
xloadimage.1 xview.1
post-patch:
@chmod a+rx ${WRKSRC}/configure
do-install:
${INSTALL_PROGRAM} ${WRKSRC}/xloadimage ${PREFIX}/bin
@cd ${PREFIX}/bin && \
ln -sf xloadimage xsetbg && \
ln -sf xloadimage xview
${INSTALL_PROGRAM} ${WRKSRC}/uufilter ${PREFIX}/bin
${INSTALL_MAN} ${WRKSRC}/xloadimage.man ${PREFIX}/man/man1/xloadimage.1
${INSTALL_MAN} ${WRKSRC}/uufilter.man ${PREFIX}/man/man1/uufilter.1
mkdir -p ${PREFIX}/share/examples/xloadimage
${INSTALL_DATA} ${WRKSRC}/xloadimagerc \
${PREFIX}/share/examples/xloadimage/xloadimagerc
.include <bsd.port.mk>
|