Changeset View
Changeset View
Standalone View
Standalone View
head/x11/gmrun/Makefile
| Show All 18 Lines | |||||
| GNU_CONFIGURE= yes | GNU_CONFIGURE= yes | ||||
| CPPFLAGS+= -I${LOCALBASE}/include | CPPFLAGS+= -I${LOCALBASE}/include | ||||
| LDFLAGS+= -L${LOCALBASE}/lib | LDFLAGS+= -L${LOCALBASE}/lib | ||||
| CONFIGURE_ARGS= --disable-stlport | CONFIGURE_ARGS= --disable-stlport | ||||
| PORTDOCS= README | PORTDOCS= README | ||||
| PLIST_FILES= bin/gmrun %%DATADIR%%/gmrunrc | PLIST_FILES= bin/gmrun %%DATADIR%%/gmrunrc | ||||
| .include <bsd.port.pre.mk> | |||||
| post-patch: | post-patch: | ||||
| .if ( ${OSVERSION} >= 800501 && ${OSVERSION} < 900000 ) || ( ${OSVERSION} >= 900006 ) | |||||
| @${REINPLACE_CMD} -e '/my_alphasort/s#const void\*#const struct dirent**#g' \ | @${REINPLACE_CMD} -e '/my_alphasort/s#const void\*#const struct dirent**#g' \ | ||||
| ${WRKSRC}/src/gtkcompletionline.cc | ${WRKSRC}/src/gtkcompletionline.cc | ||||
| .else | |||||
| @${REINPLACE_CMD} -e '/select_executables_only(const /s#const ##' \ | |||||
| ${WRKSRC}/src/gtkcompletionline.cc | |||||
| .endif | |||||
| post-install: | post-install: | ||||
| @${MKDIR} ${STAGEDIR}${DOCSDIR} | @${MKDIR} ${STAGEDIR}${DOCSDIR} | ||||
| ${INSTALL_DATA} ${WRKSRC}/README ${STAGEDIR}${DOCSDIR} | ${INSTALL_DATA} ${WRKSRC}/README ${STAGEDIR}${DOCSDIR} | ||||
| .include <bsd.port.post.mk> | .include <bsd.port.mk> | ||||