# New ports collection makefile for: endeavour # Date created: 7 Oct 1999 # Whom: Chris Piazza # # $FreeBSD$ # PORTNAME= endeavour PORTVERSION= 1.13.0 CATEGORIES= x11-fm MASTER_SITES= ftp://wolfpack.twu.net/users/wolfpack/ DISTNAME= ${PORTNAME}${PORTVERSION} MAINTAINER= ports@FreeBSD.org USE_REINPLACE= yes USE_BZIP2= yes USE_X_PREFIX= yes USE_XPM= yes USE_IMLIB= yes USE_GMAKE= yes HAS_CONFIGURE= yes CONFIGURE_ARGS= unix MAKE_ARGS= PREFIX="${PREFIX}" CC="${CC}" CPP="${CXX}" \ CFLAGS="${CFLAGS} -D__USE_BSD -DUSE_XSHM -DUSE_IMLIB" \ INC_DIRS="`imlib-config --cflags` -I${X11BASE}/include" \ LIBS="`imlib-config --libs` -lXpm" \ LIB_DIRS="-L${LOCALBASE}/lib -L${X11BASE}/lib" pre-patch: @${REINPLACE_CMD} -e 's|make |\$$\(MAKE\) |g' ${WRKSRC}/Makefile @${FIND} ${WRKSRC}/endeavour -type f | ${XARGS} ${REINPLACE_CMD} -e \ 's|#include ||g ; \ s|#include ||g ; \ s|#include ||g ; \ s|umode_t|unsigned short|g' do-install: ${INSTALL_PROGRAM} ${WRKSRC}/endeavour/endeavour ${PREFIX}/bin .include