1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253 |
- # $OpenBSD: Makefile,v 1.34 2017/04/10 11:46:23 sthen Exp $
- COMMENT= filemanager for X Window
- DISTNAME= xnc-4.4.7
- REVISION= 8
- DISTFILES= ${DISTNAME}.src${EXTRACT_SUFX}
- SHARED_LIBS= xncaqua 1.0 \
- xncfive 1.0
- CATEGORIES= misc x11
- HOMEPAGE= http://xnc.dubna.su
- MASTER_SITES= ${HOMEPAGE}/src/
- PERMIT_PACKAGE_CDROM= Yes
- WANTLIB += ICE SM X11 Xext c jpeg m png ${LIBCXX} util z tiff
- LIB_DEPENDS= graphics/tiff \
- graphics/png
- NO_TEST= Yes
- CONFIGURE_STYLE= autoconf old dest
- AUTOCONF_VERSION= 2.13
- CONFIGURE_ENV= CFLAGS="${CFLAGS} -I${LOCALBASE}/include" \
- CPPFLAGS="${CPPFLAGS} -I${LOCALBASE}/include" \
- LIBS="-L${LOCALBASE}/lib"
- CONFIGURE_ARGS= --with-x
- FAKE_FLAGS= LIBxncaqua_VERSION=${LIBxncaqua_VERSION} \
- LIBxncfive_VERSION=${LIBxncfive_VERSION}
- 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>
|