1
0
mirror of https://git.FreeBSD.org/ports.git synced 2025-01-01 05:45:45 +00:00
freebsd-ports/www/qdecoder/Makefile
Mathieu Arnold fb4deed873 Update ports in the remaining categories to not use GH_COMMIT.
With minor cleanups to make things simpler.

With hat:	portmgr
Sponsored by:	Absolight
2015-05-07 20:24:15 +00:00

37 lines
878 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
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>