2002-05-03 12:15:43 -04:00
|
|
|
# $OpenBSD: Makefile,v 1.17 2002/05/03 16:15:43 naddy Exp $
|
2000-08-06 07:51:34 -04:00
|
|
|
|
2001-04-13 21:59:57 -04:00
|
|
|
COMMENT= "graphics file viewer for X11"
|
2000-08-06 07:51:34 -04:00
|
|
|
|
2001-04-13 21:59:57 -04:00
|
|
|
VERSION= 4.1
|
2002-05-03 12:15:43 -04:00
|
|
|
REVISION= 10 # Debian
|
2000-08-06 07:51:34 -04:00
|
|
|
|
2001-04-13 21:59:57 -04:00
|
|
|
DISTNAME= xloadimage.${VERSION}
|
|
|
|
PKGNAME= xloadimage-${VERSION}.${REVISION}
|
|
|
|
CATEGORIES= x11 graphics
|
|
|
|
NEED_VERSION= 1.363
|
2000-08-06 07:51:34 -04:00
|
|
|
|
2000-09-23 08:38:21 -04:00
|
|
|
MAINTAINER= Christian Weisgerber <naddy@openbsd.org>
|
2000-08-06 07:51:34 -04:00
|
|
|
|
2000-04-03 16:34:52 -04:00
|
|
|
PERMIT_PACKAGE_CDROM= Yes
|
|
|
|
PERMIT_PACKAGE_FTP= Yes
|
|
|
|
PERMIT_DISTFILES_CDROM= Yes
|
|
|
|
PERMIT_DISTFILES_FTP= Yes
|
2000-02-12 01:29:49 -05:00
|
|
|
|
2001-04-13 21:59:57 -04:00
|
|
|
MASTER_SITES= ftp://ftp.x.org/R5contrib/ \
|
|
|
|
ftp://ftp.freesoftware.com/pub/X11/R5contrib/
|
|
|
|
MASTER_SITES0= 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:0
|
|
|
|
PATCH_DIST_STRIP= -p1
|
|
|
|
|
|
|
|
LIB_DEPENDS= jpeg.62::graphics/jpeg \
|
2001-05-23 22:27:06 -04:00
|
|
|
png.2::graphics/png \
|
2001-04-13 21:59:57 -04:00
|
|
|
tiff.35::graphics/tiff
|
|
|
|
|
2001-01-17 19:36:31 -05:00
|
|
|
USE_X11= Yes
|
2000-08-06 07:51:34 -04:00
|
|
|
CONFIGURE_STYLE= gnu
|
2001-04-13 21:59:57 -04:00
|
|
|
CONFIGURE_ENV= CPPFLAGS=-I${LOCALBASE}/include \
|
|
|
|
LDFLAGS=-L${LOCALBASE}/lib
|
2001-10-25 12:14:51 -04:00
|
|
|
NO_REGRESS= Yes
|
2000-08-06 07:51:34 -04:00
|
|
|
|
|
|
|
post-patch:
|
|
|
|
@chmod a+rx ${WRKSRC}/configure
|
1997-12-19 21:47:06 -05:00
|
|
|
|
2000-08-06 07:51:34 -04:00
|
|
|
do-install:
|
|
|
|
${INSTALL_PROGRAM} ${WRKBUILD}/xloadimage ${PREFIX}/bin
|
|
|
|
@cd ${PREFIX}/bin && \
|
2001-04-13 21:59:57 -04:00
|
|
|
ln -sf xloadimage xsetbg && \
|
|
|
|
ln -sf xloadimage xview
|
2000-08-06 07:51:34 -04:00
|
|
|
${INSTALL_PROGRAM} ${WRKBUILD}/uufilter ${PREFIX}/bin
|
|
|
|
${INSTALL_MAN} ${WRKSRC}/xloadimage.man ${PREFIX}/man/man1/xloadimage.1
|
|
|
|
@cd ${PREFIX}/man/man1 && \
|
2001-04-13 21:59:57 -04:00
|
|
|
ln -sf xloadimage.1 xsetbg.1 && \
|
|
|
|
ln -sf xloadimage.1 xview.1
|
2000-08-06 07:51:34 -04:00
|
|
|
${INSTALL_MAN} ${WRKSRC}/uufilter.man ${PREFIX}/man/man1/uufilter.1
|
2001-04-13 21:59:57 -04:00
|
|
|
${INSTALL_DATA_DIR} ${PREFIX}/share/examples/xloadimage
|
2000-08-06 07:51:34 -04:00
|
|
|
${INSTALL_DATA} ${WRKSRC}/xloadimagerc \
|
2001-07-10 17:11:58 -04:00
|
|
|
${PREFIX}/share/examples/xloadimage/xloadimagerc
|
1997-12-19 21:47:06 -05:00
|
|
|
|
|
|
|
.include <bsd.port.mk>
|