freebsd-ports/graphics/osg-devel/bsd.osg.mk
Martin Wilke 3e4ed01146 - 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 17:56:05 +00:00

33 lines
917 B
Makefile

# $FreeBSD$
MASTER_SITES= http://www.openscenegraph.org/downloads/snapshots/
DISTNAME= OSG_OP_OT-1.2
MD5_FILE= ${.CURDIR}/../../graphics/osg/distinfo
USE_ZIP= yes
USE_GMAKE= yes
USE_LDCONFIG= yes
MAKEFILE= GNUmakefile
MAKE_ARGS= PTHREAD_CFLAGS="${PTHREAD_CFLAGS}" \
PTHREAD_LIBS="${PTHREAD_LIBS}" \
CXX="${CXX}" \
INST_LOCATION="${PREFIX}" \
INST_EXAMPLES="${EXAMPLESDIR}/bin" \
INST_SRC="${EXAMPLESDIR}/src" \
INST_EXAMPLE_SRC="${EXAMPLESDIR}/src" \
INSTBINCMD="${INSTALL_PROGRAM}" \
INSTXCMD="${INSTALL_PROGRAM}" \
INSTDEVCMD="${INSTALL_DATA}" \
INSTRCMD="${INSTALL_DATA}"
ALL_TARGET= opt
post-patch: osg-post-patch
osg-post-patch:
@${REINPLACE_CMD} -Ee 's|-O2|${CXXFLAGS}|; \
s|(-I\|-L\|-rpath )/usr/local|\1${LOCALBASE}|; \
s|(-I\|-L\|-rpath )/usr/X11R6|\1${LOCALBASE}|' \
${WRKSRC}/Make/makedefs
@${REINPLACE_CMD} -e 's|DOF=$$(OPTF)|DOF="$$(OPTF)"|' \
${WRKSRC}/Make/makerules