Changeset View
Changeset View
Standalone View
Standalone View
biology/protomol/Makefile
Show All 31 Lines | |||||
# Hack to cure a misbehavior of the configure script | # Hack to cure a misbehavior of the configure script | ||||
CONFIGURE_ARGS+= --without-irix_mipspro_mpi | CONFIGURE_ARGS+= --without-irix_mipspro_mpi | ||||
CPPFLAGS+= -I${LOCALBASE}/include | CPPFLAGS+= -I${LOCALBASE}/include | ||||
CXXFLAGS+= -L${LOCALBASE}/lib | CXXFLAGS+= -L${LOCALBASE}/lib | ||||
WRKSRC= ${WRKDIR}/${PORTNAME} | WRKSRC= ${WRKDIR}/${PORTNAME} | ||||
OPTIONS_DEFINE= GLUT | OPTIONS_DEFINE= GLUT EXAMPLES | ||||
OPTIONS_DEFAULT= GLUT | OPTIONS_DEFAULT= GLUT | ||||
GLUT_CONFIGURE_ON= --with-glut=yes | GLUT_CONFIGURE_ON= --with-glut=yes | ||||
GLUT_USE= GL=glut | GLUT_USE= GL=glut | ||||
GLUT_CONFIGURE_OFF= --with-glut=no | GLUT_CONFIGURE_OFF= --with-glut=no | ||||
.include <bsd.port.options.mk> | post-install-EXAMPLES-on: | ||||
.if ${PORT_OPTIONS:MEXAMPLES} | |||||
post-install: | |||||
@${MKDIR} ${STAGEDIR}${EXAMPLESDIR} | @${MKDIR} ${STAGEDIR}${EXAMPLESDIR} | ||||
cd ${WRKSRC}/examples ; \ | cd ${WRKSRC}/examples ; \ | ||||
${COPYTREE_SHARE} . ${STAGEDIR}${EXAMPLESDIR} "! -name .cvsignore" | ${COPYTREE_SHARE} . ${STAGEDIR}${EXAMPLESDIR} "! -name .cvsignore" | ||||
.endif | |||||
.include <bsd.port.mk> | .include <bsd.port.mk> |