Stage support, uses gmake
This commit is contained in:
parent
1d695408cc
commit
d13e8fffa3
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=338286
1 changed files with 9 additions and 11 deletions
|
@ -14,25 +14,23 @@ LIB_DEPENDS= libpcre.so:${PORTSDIR}/devel/pcre
|
|||
|
||||
GNU_CONFIGURE= yes
|
||||
CONFIGURE_ARGS+= --libdir=${PREFIX}/lib/mysql/plugin
|
||||
USE_GMAKE= yes
|
||||
USES= gmake
|
||||
USE_MYSQL= yes
|
||||
|
||||
USE_LDCONFIG= yes
|
||||
|
||||
WRKSRC= ${WRKDIR}/lib_mysqludf_preg-${PORTVERSION}
|
||||
WRKSRC= ${WRKDIR}/lib_mysqludf_preg-${PORTVERSION}
|
||||
|
||||
PLIST_FILES= lib/mysql/plugin/lib_mysqludf_preg.a \
|
||||
lib/mysql/plugin/lib_mysqludf_preg.la \
|
||||
lib/mysql/plugin/lib_mysqludf_preg.so \
|
||||
%%DATADIR%%/installdb.sql \
|
||||
%%DATADIR%%/uninstalldb.sql
|
||||
lib/mysql/plugin/lib_mysqludf_preg.la \
|
||||
lib/mysql/plugin/lib_mysqludf_preg.so \
|
||||
%%DATADIR%%/installdb.sql \
|
||||
%%DATADIR%%/uninstalldb.sql
|
||||
PLIST_DIRS= ${DATADIR_REL} lib/mysql/plugin
|
||||
|
||||
NO_STAGE= yes
|
||||
post-install:
|
||||
${MKDIR} ${DATADIR}/
|
||||
${INSTALL_DATA} ${WRKSRC}/installdb.sql ${DATADIR}/
|
||||
${INSTALL_DATA} ${WRKSRC}/uninstalldb.sql ${DATADIR}/
|
||||
${CAT} ${PKGMESSAGE}
|
||||
@${MKDIR} ${STAGEDIR}${DATADIR}
|
||||
${INSTALL_DATA} ${WRKSRC}/installdb.sql ${STAGEDIR}${DATADIR}
|
||||
${INSTALL_DATA} ${WRKSRC}/uninstalldb.sql ${STAGEDIR}${DATADIR}
|
||||
|
||||
.include <bsd.port.mk>
|
||||
|
|
Loading…
Reference in a new issue