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
|
2005-05-09 12:27:17 +02:00
|
|
|
PORTVERSION= 5.0.4
|
2008-06-06 16:17:21 +02:00
|
|
|
PORTREVISION= 3
|
1999-04-30 11:44:34 +02:00
|
|
|
CATEGORIES= x11-fm
|
2003-01-09 14:38:36 +01:00
|
|
|
MASTER_SITES= http://www.xnc.dubna.su/src-5/
|
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
|
2003-03-07 07:14:21 +01:00
|
|
|
COMMENT= File manager for X Window
|
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
|
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 \
|
2004-02-04 05:36:30 +01:00
|
|
|
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}
|
2004-02-04 05:36:30 +01:00
|
|
|
USE_GETTEXT= yes
|
1999-04-30 11:44:34 +02:00
|
|
|
GNU_CONFIGURE= yes
|
- Remove unneeded dependency from gtk12/gtk20 [1]
- Remove USE_XLIB/USE_X_PREFIX/USE_XPM in favor of USE_XORG
- Remove X11BASE support in favor of LOCALBASE or PREFIX
- Use USE_LDCONFIG instead of INSTALLS_SHLIB
- Remove unneeded USE_GCC 3.4+
Thanks to all Helpers:
Dmitry Marakasov, Chess Griffin, beech@, dinoex, rafan, gahr,
ehaupt, nox, itetcu, flz, pav
PR: 116263
Tested on: pointyhat
Approved by: portmgr (pav)
2008-04-19 19:56:05 +02:00
|
|
|
USE_XORG= x11 xext xt
|
2003-01-09 14:38:36 +01:00
|
|
|
CONFIGURE_ARGS+=--with-pty=BSD --with-libintl-prefix=${LOCALBASE}
|
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
|
|
|
|
2003-01-09 14:38:36 +01:00
|
|
|
MAN1= ives.1 xjpegroot.1 xnc.1 xnlaunch.1 iedit.1 iview.1
|
2002-03-31 06:35:41 +02:00
|
|
|
|
2007-07-05 11:00:01 +02:00
|
|
|
post-configure:
|
|
|
|
${REINPLACE_CMD} -e 's|-I$$(MYSRCDIR)/intl||;s|$${top_builddir}/intl/libintl.a|-lintl|' \
|
|
|
|
${WRKSRC}/src/ives/makefile \
|
|
|
|
${WRKSRC}/src/launch/makefile \
|
|
|
|
${WRKSRC}/src/xsetup/makefile \
|
|
|
|
${WRKSRC}/src/makefile
|
|
|
|
|
1999-04-30 11:44:34 +02:00
|
|
|
post-install:
|
2002-06-29 10:31:23 +02:00
|
|
|
@${CAT} ${PKGMESSAGE}
|
1999-04-30 11:44:34 +02:00
|
|
|
|
|
|
|
.include <bsd.port.mk>
|