2013-09-20 18:13:47 +02:00
|
|
|
# Created by: Alexey Dokuchaev <danfe@FreeBSD.org>
|
2005-03-04 07:40:25 +01:00
|
|
|
# $FreeBSD$
|
|
|
|
|
|
|
|
PORTNAME= wmjsql
|
|
|
|
PORTVERSION= 0.5
|
2011-03-19 14:15:34 +01:00
|
|
|
PORTREVISION= 2
|
2005-03-04 07:40:25 +01:00
|
|
|
CATEGORIES= databases windowmaker
|
2014-09-05 13:44:18 +02:00
|
|
|
MASTER_SITES= http://freebsd.nsu.ru/distfiles/
|
2005-03-04 07:40:25 +01:00
|
|
|
|
|
|
|
MAINTAINER= ports@FreeBSD.org
|
|
|
|
COMMENT= MySQL server status displaying dockapp
|
|
|
|
|
2016-01-12 17:20:31 +01:00
|
|
|
LICENSE= GPLv2+
|
2015-12-20 16:28:47 +01:00
|
|
|
LICENSE_FILE= ${WRKSRC}/COPYING
|
2014-01-25 17:45:01 +01:00
|
|
|
|
2013-12-09 00:06:15 +01:00
|
|
|
USES= gmake
|
2014-01-25 17:45:01 +01:00
|
|
|
USE_MYSQL= yes
|
- Remove unneeded dependency from gtk12/gtk20 [1]
- Remove USE_XLIB/USE_X_PREFIX/USE_XPM in favor of USE_XORG
- Remove X11BASE support in favor of LOCALBASE or PREFIX
- Use USE_LDCONFIG instead of INSTALLS_SHLIB
- Remove unneeded USE_GCC 3.4+
Thanks to all Helpers:
Dmitry Marakasov, Chess Griffin, beech@, dinoex, rafan, gahr,
ehaupt, nox, itetcu, flz, pav
PR: 116263
Tested on: pointyhat
Approved by: portmgr (pav)
2008-04-19 19:56:05 +02:00
|
|
|
USE_XORG= xpm
|
2005-03-04 07:40:25 +01:00
|
|
|
ALL_TARGET= clean all
|
2009-11-22 20:49:43 +01:00
|
|
|
MAKE_JOBS_UNSAFE= yes
|
2005-03-04 07:40:25 +01:00
|
|
|
|
2015-12-20 16:28:47 +01:00
|
|
|
WRKSRC= ${WRKDIR}/${PORTNAME}
|
|
|
|
BUILD_WRKSRC= ${WRKSRC}/src
|
|
|
|
|
2014-01-25 17:45:01 +01:00
|
|
|
CPPFLAGS+= -I${LOCALBASE}/include/X11 -I${LOCALBASE}/include
|
|
|
|
LDFLAGS+= -L${LOCALBASE}/lib/mysql -L${LOCALBASE}/lib
|
|
|
|
|
|
|
|
PORTDOCS= README
|
|
|
|
PLIST_FILES= bin/${PORTNAME}
|
2005-03-04 07:40:25 +01:00
|
|
|
|
2015-12-20 16:28:47 +01:00
|
|
|
OPTIONS_DEFINE= DOCS
|
|
|
|
|
2005-03-04 07:40:25 +01:00
|
|
|
post-patch:
|
2014-01-25 17:45:01 +01:00
|
|
|
.for i in Makefile jDockApp/Makefile xutils/Makefile
|
|
|
|
@${REINPLACE_CMD} -e \
|
|
|
|
'/^INCDIR/s|=.*|= $${CPPFLAGS}| ; \
|
|
|
|
/^LIBDIR/s|=.*|= $${LDFLAGS}| ; \
|
|
|
|
/^CC/d ; \
|
|
|
|
/^CFLAGS/d ; \
|
|
|
|
s| make | $$(MAKE) | ; \
|
2015-12-20 16:28:47 +01:00
|
|
|
s|-D$$(shell echo `uname -s`)||' ${BUILD_WRKSRC}/${i}
|
2014-01-25 17:45:01 +01:00
|
|
|
.endfor
|
|
|
|
.for i in wmjsql.jet ../README
|
|
|
|
@${REINPLACE_CMD} -E 's|\.wmjsql([^r])|\.wmjsqlrc\1|' \
|
2015-12-20 16:28:47 +01:00
|
|
|
${BUILD_WRKSRC}/${i}
|
2014-01-25 17:45:01 +01:00
|
|
|
.endfor
|
2005-03-04 07:40:25 +01:00
|
|
|
|
|
|
|
do-install:
|
2015-12-20 16:28:47 +01:00
|
|
|
${INSTALL_PROGRAM} ${BUILD_WRKSRC}/${PORTNAME} \
|
|
|
|
${STAGEDIR}${PREFIX}/bin
|
|
|
|
|
|
|
|
do-install-DOCS-on:
|
2014-01-25 17:45:01 +01:00
|
|
|
@${MKDIR} ${STAGEDIR}${DOCSDIR}
|
2015-12-20 16:28:47 +01:00
|
|
|
${INSTALL_DATA} ${WRKSRC}/README ${STAGEDIR}${DOCSDIR}
|
2005-03-04 07:40:25 +01:00
|
|
|
|
|
|
|
.include <bsd.port.mk>
|