openbsd-ports/misc/xnc/Makefile

57 lines
1.4 KiB
Makefile
Raw Normal View History

2010-11-19 02:23:05 -05:00
# $OpenBSD: Makefile,v 1.25 2010/11/19 07:23:12 espie Exp $
COMMENT= filemanager for X Window
2003-01-03 09:00:56 -05:00
DISTNAME= xnc-4.4.7
REVISION= 2
2005-12-30 18:25:56 -05:00
DISTFILES= ${DISTNAME}.src${EXTRACT_SUFX}
SHARED_LIBS= xncaqua 1.0 \
xncfive 1.0
2005-12-30 18:25:56 -05:00
CATEGORIES= misc x11
HOMEPAGE= http://xnc.dubna.su
MASTER_SITES= ${HOMEPAGE}/src/
PERMIT_PACKAGE_CDROM= Yes
PERMIT_PACKAGE_FTP= Yes
PERMIT_DISTFILES_CDROM= Yes
PERMIT_DISTFILES_FTP= Yes
2010-11-05 04:24:49 -04:00
WANTLIB += ICE SM X11 Xext c jpeg m pthread-stubs stdc++ xcb z tiff png
2010-11-19 02:23:05 -05:00
LIB_DEPENDS= graphics/tiff \
graphics/png
2010-10-18 16:52:05 -04:00
USE_GROFF = Yes
NO_REGRESS= Yes
CONFIGURE_STYLE= autoconf old dest
AUTOCONF_VERSION= 2.13
2002-07-19 17:55:44 -04:00
CONFIGURE_ENV= CFLAGS="${CFLAGS} -I${LOCALBASE}/include -I${LOCALBASE}/include/libpng" \
2001-03-16 13:02:12 -05:00
CPPFLAGS="${CPPFLAGS} -I${LOCALBASE}/include" \
LIBS="-L${LOCALBASE}/lib"
CONFIGURE_ARGS= --with-x
2005-12-30 18:25:56 -05:00
FAKE_FLAGS= LIBxncaqua_VERSION=${LIBxncaqua_VERSION} \
LIBxncfive_VERSION=${LIBxncfive_VERSION}
2005-12-30 18:25:56 -05:00
XNLAUNCHFILES= .launch.menu .xnlaunch.ini graphs.gif ives.gif kill.gif \
map.gif netscape.gif term.gif tnet.gif
pre-configure:
@perl -pi -e 's,\@prefix\@,${PREFIX},g' ${WRKSRC}/xncdirs.h.in
post-install:
${INSTALL_DATA_DIR} ${PREFIX}/share/examples/xnc
cd ${WRKSRC}/.xlaunch && \
${INSTALL_DATA} ${XNLAUNCHFILES} ${PREFIX}/share/examples/xnc
cd ${PREFIX}/bin && \
${STRIP} iedit ives vs xjpegroot xnc xnlaunch xncloader xncsetup
sed -e 's,^ ,,' <${PREFIX}/man/man1/xnlaunch.1 >${PREFIX}/man/cat1/xnlaunch.0
rm -f ${PREFIX}/man/man1/xnlaunch.1
.include <bsd.port.mk>