. Simplify Makefile
. Use space on WWW line
This commit is contained in:
parent
4eed802f57
commit
2106ee381f
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=332317
@ -19,12 +19,8 @@ PORTDOCS= README.txt INSTALL.txt mysql.sql
|
||||
|
||||
OPTIONS_DEFINE= MYSQL DOCS
|
||||
|
||||
.include <bsd.port.pre.mk>
|
||||
|
||||
.if ${PORT_OPTIONS:MMYSQL}
|
||||
CONFIGURE_ARGS+= --enable-mysql
|
||||
USE_MYSQL= yes
|
||||
.endif
|
||||
MYSQL_USE= MYSQL=yes
|
||||
MYSQL_CONFIGURE_ENABLE= mysql
|
||||
|
||||
post-patch:
|
||||
@${REINPLACE_CMD} -e 's/-liconv/${ICONV_LIB}/' ${WRKSRC}/configure
|
||||
@ -32,14 +28,9 @@ post-patch:
|
||||
do-install:
|
||||
${INSTALL_PROGRAM} ${WRKSRC}/scanhill ${STAGEDIR}${PREFIX}/bin
|
||||
${INSTALL_DATA} ${WRKSRC}/scanhill.conf ${STAGEDIR}${PREFIX}/etc/scanhill.conf-dist
|
||||
.if !exists(${PREFIX}/etc/scanhill.conf)
|
||||
${INSTALL_DATA} ${WRKSRC}/scanhill.conf ${STAGEDIR}${PREFIX}/etc/
|
||||
.endif
|
||||
.if ${PORT_OPTIONS:MDOCS}
|
||||
${MKDIR} ${STAGEDIR}${DOCSDIR}
|
||||
. for f in ${PORTDOCS}
|
||||
.for f in ${PORTDOCS}
|
||||
${INSTALL_DATA} ${WRKSRC}/${f} ${STAGEDIR}${DOCSDIR}
|
||||
. endfor
|
||||
.endif
|
||||
.endfor
|
||||
|
||||
.include <bsd.port.post.mk>
|
||||
.include <bsd.port.mk>
|
||||
|
11
security/scanhill/files/patch-configure
Normal file
11
security/scanhill/files/patch-configure
Normal file
@ -0,0 +1,11 @@
|
||||
--- configure.orig 2013-10-30 11:38:52.000000000 -0200
|
||||
+++ configure 2013-10-30 11:39:25.000000000 -0200
|
||||
@@ -975,7 +975,7 @@
|
||||
done
|
||||
|
||||
# Check whether --enable-mysql or --disable-mysql was given.
|
||||
-if test "${enable_mysql+set}" = set; then
|
||||
+if test "${enable_mysql}" = "yes"; then
|
||||
enableval="$enable_mysql"
|
||||
|
||||
for ac_hdr in mysql/mysql.h
|
@ -5,4 +5,4 @@ used, stored instant messages can be read through a browser interface that is
|
||||
written in PHP language. Please see the INSTALL.txt file for instructions on
|
||||
how to install, configure and run EnderUNIX scanhill.
|
||||
|
||||
WWW: http://www.enderunix.org/scanhill/
|
||||
WWW: http://www.enderunix.org/scanhill/
|
||||
|
Loading…
Reference in New Issue
Block a user