mirror of
https://git.FreeBSD.org/ports.git
synced 2024-12-24 04:33:24 +00:00
4a3bebcae1
Also various fixes related to said option. PR: 230864 Submitted by: mat exp-runs by: antoine
37 lines
887 B
Makefile
37 lines
887 B
Makefile
# Created by: CHOI Junho <cjh@FreeBSD.org>
|
|
# $FreeBSD$
|
|
|
|
PORTNAME= qdecoder
|
|
PORTVERSION= 12.0.5
|
|
DISTVERSIONPREFIX= r
|
|
CATEGORIES= www
|
|
|
|
MAINTAINER= johans@FreeBSD.org
|
|
COMMENT= C/C++ language library including CGI supports
|
|
|
|
USE_GITHUB= yes
|
|
GH_ACCOUNT= wolkykim
|
|
|
|
GNU_CONFIGURE= yes
|
|
USE_LDCONFIG= yes
|
|
MAKE_ARGS= exec_prefix="${PREFIX}"
|
|
PORTEXAMPLES= *
|
|
|
|
PLIST_FILES= include/qdecoder.h lib/libqdecoder.a \
|
|
lib/libqdecoder.so lib/libqdecoder.so.12
|
|
|
|
OPTIONS_DEFINE= DEBUG EXAMPLES
|
|
DEBUG_CONFIGURE_ENABLE= debug
|
|
|
|
post-patch:
|
|
${REINPLACE_CMD} 's/.{[A-Z]*DIR/$${DESTDIR}&/' ${WRKSRC}/src/Makefile.in
|
|
${REINPLACE_CMD} '/<limits/{p;s//<errno/;}' ${WRKSRC}/src/qcgireq.c
|
|
|
|
post-install:
|
|
${MKDIR} ${STAGEDIR}${EXAMPLESDIR}
|
|
cd ${WRKSRC}/examples/ && ${COPYTREE_SHARE} "Makefile *.c *.html" \
|
|
${STAGEDIR}${EXAMPLESDIR}
|
|
${STRIP_CMD} ${STAGEDIR}${PREFIX}/lib/libqdecoder.so
|
|
|
|
.include <bsd.port.mk>
|