ee457c168b
order of float4store() arguments which was breaking the build on big- endian architectures in version 1.1.1, and plugged resource leaks in void mysac_close(MYSAC *mysac) function - Define LICENSE (GPLv3) and simplify `do-install' target recipe - Cleanup COMMENT and port description text (remove EOL whitespace and double `uses uses` typo), update WWW address to avoid redirect
35 lines
799 B
Makefile
35 lines
799 B
Makefile
# Created by: Jake Smith <jake@xz.cx>
|
|
# $FreeBSD$
|
|
|
|
PORTNAME= mysac
|
|
PORTVERSION= 1.1.2
|
|
CATEGORIES= databases
|
|
MASTER_SITES= http://www.arpalert.org/src/ \
|
|
http://xz.cx/downloads/mysac/
|
|
|
|
MAINTAINER= jake@xz.cx
|
|
COMMENT= MySQL Simple Asynchronous Client
|
|
|
|
LICENSE= GPLv3
|
|
|
|
USE_LDCONFIG= yes
|
|
USE_MYSQL= yes
|
|
|
|
CFLAGS+= -I${LOCALBASE}/include
|
|
LDFLAGS+= -I${LOCALBASE}/lib
|
|
|
|
PLIST_FILES= lib/libmysac.so \
|
|
lib/libmysac.so.0 \
|
|
lib/libmysac-static.a \
|
|
include/mysac.h
|
|
|
|
pre-build:
|
|
${TOUCH} ${WRKSRC}/make.deps
|
|
|
|
do-install:
|
|
${INSTALL_LIB} ${WRKSRC}/libmysac.so ${STAGEDIR}${PREFIX}/lib
|
|
${LN} -sf libmysac.so ${STAGEDIR}${PREFIX}/lib/libmysac.so.0
|
|
${INSTALL_DATA} ${WRKSRC}/libmysac-static.a ${STAGEDIR}${PREFIX}/lib
|
|
${INSTALL_DATA} ${WRKSRC}/mysac.h ${STAGEDIR}${PREFIX}/include
|
|
|
|
.include <bsd.port.mk>
|