mirror of
https://git.FreeBSD.org/ports.git
synced 2025-01-03 06:04:53 +00:00
f861a746f0
- Add Sourceforge as primary MASTER_SITES - PORTDOCS no longer included Note: shared library version was bumped
82 lines
1.8 KiB
Makefile
82 lines
1.8 KiB
Makefile
# New ports collection makefile for: qDecoder library
|
|
# Date created: Sep 10 1999
|
|
# Whom: CHOI Junho <cjh@FreeBSD.org>
|
|
#
|
|
# $FreeBSD$
|
|
#
|
|
|
|
PORTNAME= qdecoder
|
|
PORTVERSION= 11.0.0
|
|
CATEGORIES= www
|
|
MASTER_SITES= SF/${PORTNAME}/ \
|
|
ftp://ftp.qdecoder.org/pub/qDecoder/
|
|
DISTNAME= qDecoder-${PORTVERSION}
|
|
|
|
MAINTAINER= johans@FreeBSD.org
|
|
COMMENT= C/C++ language library including CGI supports
|
|
|
|
GNU_CONFIGURE= yes
|
|
USE_LDCONFIG= yes
|
|
MAKE_ARGS= exec_prefix="${PREFIX}"
|
|
|
|
OPTIONS= Q_DEBUG "enable debuging output" off \
|
|
Q_CGI "enable CGI APIs" on \
|
|
Q_SOCKET "enable socket APIs" on \
|
|
Q_IPC "enable IPC APIs" on \
|
|
Q_DATASTRUCTURE "enable data-structure APIs" on \
|
|
Q_MYSQL "enable MySQL database supports" off \
|
|
Q_LFS "enable large-file supports" off \
|
|
Q_SENDFILE "use sendfile() if possible" off
|
|
|
|
PLIST_FILES= include/qdecoder.h \
|
|
lib/libqdecoder.a \
|
|
lib/libqdecoder.so \
|
|
lib/libqdecoder.so.11
|
|
|
|
.if !defined(NOPORTEXAMPLES)
|
|
PORTEXAMPLES= *
|
|
.endif
|
|
|
|
.include <bsd.port.pre.mk>
|
|
|
|
.if defined(WITH_Q_DEBUG)
|
|
CONFIGURE_ARGS+="--enable-debug"
|
|
.endif
|
|
|
|
.if defined(WITH_Q_LFS)
|
|
CONFIGURE_ARGS+="--enable-lfs"
|
|
.endif
|
|
|
|
.if defined(WITH_Q_SENDFILE)
|
|
CONFIGURE_ARGS+="--enable-sendfile"
|
|
.endif
|
|
|
|
.if defined(WITH_Q_MYSQL)
|
|
CONFIGURE_ARGS+="--enable-mysql=${LOCALBASE}/include/mysql"
|
|
USE_MYSQL=yes
|
|
.endif
|
|
|
|
.if defined(WITHOUT_Q_CGI)
|
|
CONFIGURE_ARGS+="--disable-cgi"
|
|
.endif
|
|
|
|
.if defined(WITHOUT_Q_SOCKET)
|
|
CONFIGURE_ARGS+="--disable-socket"
|
|
.endif
|
|
|
|
.if defined(WITHOUT_Q_IPC)
|
|
CONFIGURE_ARGS+="--disable-ipc"
|
|
.endif
|
|
|
|
.if defined(WITHOUT_Q_DATASTRUCTURE)
|
|
CONFIGURE_ARGS+="--disable-datastructure"
|
|
.endif
|
|
|
|
post-install:
|
|
.if !defined(NOPORTEXAMPLES)
|
|
${MKDIR} ${EXAMPLESDIR}
|
|
(cd ${WRKSRC}/examples/ && ${COPYTREE_SHARE} "Makefile *.c *.html" ${EXAMPLESDIR})
|
|
.endif
|
|
|
|
.include <bsd.port.post.mk>
|