blob: 24e9a1b30aeb019d68696ae3098b6dace09a157d (
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
39
40
41
|
# New ports collection makefile for: libhttpd-persistent
# Date created: 19 October 2003
# Whom: Lars Thegler <lars@thegler.dk>
#
# $FreeBSD$
#
PORTNAME= libhttpd
PORTVERSION= ${VERSION}${LEVEL}
CATEGORIES= www devel
MASTER_SITES= http://www.deleet.de/projekte/daap/daapd/
PKGNAMESUFFIX= -persistent
DISTNAME= ${PORTNAME}-${VERSION}p-${LEVEL}
EXTRACT_SUFX= .tgz
MAINTAINER= lars@thegler.dk
COMMENT= Library for embedded web servers
WRKSRC= ${WRKDIR}/${PORTNAME}-${VERSION}-persistent-${LEVEL}
GNU_CONFIGURE= yes
USE_GMAKE= yes
USE_REINPLACE= yes
CC= ${CXX}
VERSION= 1.3
LEVEL= e
DOCS= README HISTORY License doc/FAQ.txt doc/libhttpd.pdf
post-patch:
@${REINPLACE_CMD} -e 's|/usr/local|${PREFIX}|g' \
${WRKSRC}/Site.mm.in \
${WRKSRC}/src/Makefile.tmpl
.if !defined(NOPORTDOCS)
post-install:
@${MKDIR} ${DOCSDIR}
@cd ${WRKSRC} && ${INSTALL_DATA} ${DOCS} ${DOCSDIR}
.endif
.include <bsd.port.mk>
|