1995-04-12 20:32:12 +00:00
|
|
|
# New ports collection makefile for: xloadimage
|
|
|
|
# Date created: 9 January 1994
|
|
|
|
# Whom: jmz
|
|
|
|
#
|
1999-08-31 02:51:23 +00:00
|
|
|
# $FreeBSD$
|
1995-04-12 20:32:12 +00:00
|
|
|
#
|
|
|
|
|
2001-06-07 00:15:42 +00:00
|
|
|
VERSION= 4.1
|
2002-05-24 12:25:27 +00:00
|
|
|
REVISION= 10
|
2001-07-24 01:09:12 +00:00
|
|
|
PORTREVISION= 0
|
2001-06-07 00:15:42 +00:00
|
|
|
|
2000-04-13 19:19:05 +00:00
|
|
|
PORTNAME= xloadimage
|
2001-06-07 00:15:42 +00:00
|
|
|
PORTVERSION= ${VERSION}.${REVISION}
|
|
|
|
CATEGORIES= x11 graphics
|
2001-09-23 19:50:42 +00:00
|
|
|
MASTER_SITES= ftp://ftp.x.org/R5contrib/
|
2001-06-07 00:15:42 +00:00
|
|
|
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
|
1995-04-12 20:32:12 +00:00
|
|
|
|
|
|
|
MAINTAINER= jmz@FreeBSD.org
|
|
|
|
|
2001-07-27 02:36:26 +00:00
|
|
|
USE_XLIB= yes
|
2001-06-07 00:15:42 +00:00
|
|
|
LIB_DEPENDS= jpeg.9:${PORTSDIR}/graphics/jpeg \
|
2001-09-11 02:30:09 +00:00
|
|
|
png.5:${PORTSDIR}/graphics/png \
|
2001-06-07 00:15:42 +00:00
|
|
|
tiff.4:${PORTSDIR}/graphics/tiff
|
|
|
|
|
|
|
|
GNU_CONFIGURE= yes
|
|
|
|
CONFIGURE_ENV= CPPFLAGS=-I${LOCALBASE}/include \
|
|
|
|
LDFLAGS=-L${LOCALBASE}/lib
|
|
|
|
|
2000-07-03 08:25:56 +00:00
|
|
|
MAN1= xloadimage.1 uufilter.1
|
2001-06-07 00:15:42 +00:00
|
|
|
MLINKS= xloadimage.1 xsetbg.1 \
|
|
|
|
xloadimage.1 xview.1
|
1998-06-09 00:48:16 +00:00
|
|
|
|
2001-06-07 00:15:42 +00:00
|
|
|
post-patch:
|
|
|
|
@chmod a+rx ${WRKSRC}/configure
|
2001-07-24 01:09:12 +00:00
|
|
|
@cd ${WRKSRC}; ${MV} xloadimage.man xloadimage.man.old; \
|
|
|
|
${SED} -e s:/etc/X11/Xloadimage:${PREFIX}/etc/xloadimagerc: \
|
|
|
|
-e s:/usr/lib/xloadimagerc:${PREFIX}/etc/xloadimagerc: \
|
|
|
|
< xloadimage.man.old > xloadimage.man
|
1998-06-09 00:48:16 +00:00
|
|
|
|
|
|
|
do-install:
|
2001-06-07 00:15:42 +00:00
|
|
|
${INSTALL_PROGRAM} ${WRKSRC}/xloadimage ${PREFIX}/bin
|
|
|
|
@cd ${PREFIX}/bin && \
|
2001-07-27 02:36:26 +00:00
|
|
|
${LN} -sf xloadimage xsetbg && \
|
|
|
|
${LN} -sf xloadimage xview
|
2001-06-07 00:15:42 +00:00
|
|
|
${INSTALL_PROGRAM} ${WRKSRC}/uufilter ${PREFIX}/bin
|
|
|
|
${INSTALL_MAN} ${WRKSRC}/xloadimage.man ${PREFIX}/man/man1/xloadimage.1
|
2000-07-03 08:25:56 +00:00
|
|
|
${INSTALL_MAN} ${WRKSRC}/uufilter.man ${PREFIX}/man/man1/uufilter.1
|
2001-07-27 02:36:26 +00:00
|
|
|
${MKDIR} ${PREFIX}/share/examples/xloadimage
|
2001-06-07 00:15:42 +00:00
|
|
|
${INSTALL_DATA} ${WRKSRC}/xloadimagerc \
|
|
|
|
${PREFIX}/share/examples/xloadimage/xloadimagerc
|
1995-01-09 01:17:45 +00:00
|
|
|
|
2001-07-24 01:09:12 +00:00
|
|
|
post-install:
|
2001-10-08 20:02:22 +00:00
|
|
|
@PREFIX=${PREFIX} ${SH} ${PKGINSTALL} ${PKGNAME} POST-INSTALL
|
2001-07-24 01:09:12 +00:00
|
|
|
|
1995-01-09 01:17:45 +00:00
|
|
|
.include <bsd.port.mk>
|