Changeset View
Changeset View
Standalone View
Standalone View
head/irc/inspircd/Makefile
Show First 20 Lines • Show All 133 Lines • ▼ Show 20 Lines | |||||
EXTRAS:=${EXTRAS},m_regex_posix.cpp | EXTRAS:=${EXTRAS},m_regex_posix.cpp | ||||
PLIST_SUB+= POSIX="" | PLIST_SUB+= POSIX="" | ||||
.else | .else | ||||
PLIST_SUB+= POSIX="@comment " | PLIST_SUB+= POSIX="@comment " | ||||
.endif | .endif | ||||
pre-configure: | pre-configure: | ||||
@if [ ${EXTRAS} ]; then \ | @if [ ${EXTRAS} ]; then \ | ||||
cd ${WRKSRC} && ./${CONFIGURE_SCRIPT} --enable-extras=${EXTRAS} ; \ | cd ${WRKSRC} && ${CONFIGURE_CMD} --enable-extras=${EXTRAS} ; \ | ||||
fi | fi | ||||
post-patch: | post-patch: | ||||
@${REINPLACE_CMD} -e 's|DATA_PATH "/inspircd.pid"|"/var/run/inspircd/inspircd.pid"|' ${WRKSRC}/src/inspircd.cpp | @${REINPLACE_CMD} -e 's|DATA_PATH "/inspircd.pid"|"/var/run/inspircd/inspircd.pid"|' ${WRKSRC}/src/inspircd.cpp | ||||
@${REINPLACE_CMD} -e 's|conf/examples|examples|g' ${WRKSRC}/docs/conf/inspircd.conf.example | @${REINPLACE_CMD} -e 's|conf/examples|examples|g' ${WRKSRC}/docs/conf/inspircd.conf.example | ||||
post-install: | post-install: | ||||
@${STRIP_CMD} ${STAGEDIR}${PREFIX}/lib/${PORTNAME}/modules/*.so | @${STRIP_CMD} ${STAGEDIR}${PREFIX}/lib/${PORTNAME}/modules/*.so | ||||
@${STRIP_CMD} ${STAGEDIR}${PREFIX}/bin/${PORTNAME} | @${STRIP_CMD} ${STAGEDIR}${PREFIX}/bin/${PORTNAME} | ||||
.include <bsd.port.mk> | .include <bsd.port.mk> |