1999-04-30 11:44:34 +02:00
|
|
|
# New ports collection makefile for: xnc
|
|
|
|
# Date created: 5 February 1999
|
|
|
|
# Whom: Dima Sivachenko <dima@chg.ru>
|
|
|
|
#
|
1999-08-31 05:04:38 +02:00
|
|
|
# $FreeBSD$
|
1999-04-30 11:44:34 +02:00
|
|
|
#
|
|
|
|
|
2000-04-10 02:44:43 +02:00
|
|
|
PORTNAME= xnc
|
2002-06-29 10:31:23 +02:00
|
|
|
PORTVERSION= 4.4.7
|
1999-04-30 11:44:34 +02:00
|
|
|
CATEGORIES= x11-fm
|
2001-02-22 11:11:42 +01:00
|
|
|
MASTER_SITES= http://www.xnc.dubna.su/src/
|
2001-01-06 18:25:48 +01:00
|
|
|
DISTNAME= ${PORTNAME}-${PORTVERSION}.src
|
1999-04-30 11:44:34 +02:00
|
|
|
|
2000-11-13 13:45:40 +01:00
|
|
|
MAINTAINER= demon@FreeBSD.org
|
1999-04-30 11:44:34 +02:00
|
|
|
|
2000-02-18 04:48:18 +01:00
|
|
|
# xnc will use the following programs if you have them installed.
|
|
|
|
#RUN_DEPENDS= zip:${PORTSDIR}/archivers/zip \
|
|
|
|
# unzip:${PORTSDIR}/archivers/unzip \
|
2001-03-20 21:28:14 +01:00
|
|
|
# rpm:${PORTSDIR}/archivers/rpm \
|
2000-02-18 04:48:18 +01:00
|
|
|
# rar:${PORTSDIR}/archivers/rar \
|
|
|
|
# unarj:${PORTSDIR}/archivers/unarj \
|
2001-08-15 22:33:16 +02:00
|
|
|
# lha:${PORTSDIR}/archivers/lha
|
|
|
|
#.if !exists(/usr/bin/bzip2)
|
|
|
|
#RUN_DEPENDS+= bzip2:${PORTSDIR}/archivers/bzip2
|
|
|
|
#.endif
|
2000-07-07 21:07:04 +02:00
|
|
|
LIB_DEPENDS= jpeg.9:${PORTSDIR}/graphics/jpeg \
|
2002-06-29 10:31:23 +02:00
|
|
|
png.5:${PORTSDIR}/graphics/png \
|
|
|
|
tiff.4:${PORTSDIR}/graphics/tiff
|
1999-04-30 11:44:34 +02:00
|
|
|
|
2001-01-06 18:25:48 +01:00
|
|
|
WRKSRC= ${WRKDIR}/${PORTNAME}-${PORTVERSION}
|
2002-06-29 10:31:23 +02:00
|
|
|
USE_XLIB= yes
|
1999-04-30 11:44:34 +02:00
|
|
|
GNU_CONFIGURE= yes
|
2002-06-29 10:31:23 +02:00
|
|
|
CONFIGURE_ARGS+=--with-pty=BSD
|
2000-07-07 21:07:04 +02:00
|
|
|
CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include" \
|
|
|
|
LIBS="-L${LOCALBASE}/lib"
|
1999-04-30 11:44:34 +02:00
|
|
|
|
2000-02-18 04:48:18 +01:00
|
|
|
MAN1= es.1 ives.1 vs.1 xjpegroot.1 xnc.1 xnlaunch.1
|
1999-04-30 11:44:34 +02:00
|
|
|
|
2002-03-31 06:35:41 +02:00
|
|
|
pre-patch:
|
2002-06-29 10:31:23 +02:00
|
|
|
@${PERL} -pi -e 's,<malloc.h>,<stdlib.h>,' ${WRKSRC}/image2/picinfo.h
|
2002-03-31 06:35:41 +02:00
|
|
|
|
1999-04-30 11:44:34 +02:00
|
|
|
post-install:
|
|
|
|
.if !defined(NOPORTDOCS)
|
2002-06-29 10:31:23 +02:00
|
|
|
@${MKDIR} ${DOCSDIR}
|
|
|
|
@${INSTALL_DATA} ${WRKSRC}/Docs/* ${DOCSDIR}
|
1999-04-30 11:44:34 +02:00
|
|
|
.endif
|
2002-06-29 10:31:23 +02:00
|
|
|
@${CAT} ${PKGMESSAGE}
|
1999-04-30 11:44:34 +02:00
|
|
|
|
|
|
|
.include <bsd.port.mk>
|