aboutsummaryrefslogtreecommitdiffstats
path: root/www/qdecoder/Makefile
blob: e8b12745429c66658ee16d8febe57c7865361141 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
# Created by: CHOI Junho <cjh@FreeBSD.org>
# $FreeBSD$

PORTNAME=   qdecoder
PORTVERSION=    12.0.4
CATEGORIES= www
MASTER_SITES=   SF/${PORTNAME}/
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}"
WRKSRC=     ${WRKDIR}/${PORTNAME}-${PORTVERSION}

OPTIONS_DEFINE= DEBUG
PORTEXAMPLES=   *

PLIST_FILES=    include/qdecoder.h \
        lib/libqdecoder.a \
        lib/libqdecoder.so \
        lib/libqdecoder.so.12

.include <bsd.port.options.mk>

.if ${PORT_OPTIONS:MDEBUG}
CONFIGURE_ARGS+="--enable-debug"
.endif

post-install:
.if ${PORT_OPTIONS:MEXAMPLES}
    ${MKDIR} ${EXAMPLESDIR}
    (cd ${WRKSRC}/examples/ && ${COPYTREE_SHARE} "Makefile *.c *.html" ${EXAMPLESDIR})
.endif

.include <bsd.port.mk>