Lines 1-35
Link Here
|
1 |
# Ports collection makefile for: xxl |
1 |
# Created by: Robert Schlotterbeck <robert@rs.tarrant.tx.us> |
2 |
# Date created: 28 Aug 2003 |
|
|
3 |
# Whom: Robert Schlotterbeck <robert@rs.tarrant.tx.us> |
4 |
# |
5 |
# $FreeBSD: ports/devel/xxl/Makefile,v 1.14 2011/10/24 03:33:01 stas Exp $ |
2 |
# $FreeBSD: ports/devel/xxl/Makefile,v 1.14 2011/10/24 03:33:01 stas Exp $ |
6 |
# |
|
|
7 |
|
3 |
|
8 |
PORTNAME= xxl |
4 |
PORTNAME= xxl |
9 |
PORTVERSION= 1.0.1 |
5 |
PORTVERSION= 1.0.1 |
10 |
PORTREVISION= 1 |
6 |
PORTREVISION= 1 |
11 |
CATEGORIES= devel |
7 |
CATEGORIES= devel |
12 |
MASTER_SITES= http://www.zork.org/software/ |
8 |
MASTER_SITES= http://launchpadlibrarian.net/39195019/ \ |
|
|
9 |
http://www.zork.org/software/ |
13 |
|
10 |
|
14 |
MAINTAINER= ports@FreeBSD.org |
11 |
MAINTAINER= ports@FreeBSD.org |
15 |
COMMENT= C/C++ library for exception handling and asset management |
12 |
COMMENT= C/C++ library for exception handling and asset management |
16 |
|
13 |
|
|
|
14 |
LICENSE= BSD |
15 |
LICENSE_FILE= ${WRKSRC}/LICENSE |
16 |
|
17 |
OPTIONS_DEFINE= THREADS DOCS |
18 |
OPTIONS_DEFAULT=THREADS |
19 |
|
17 |
USE_AUTOTOOLS= libtool |
20 |
USE_AUTOTOOLS= libtool |
18 |
GNU_CONFIGURE= yes |
|
|
19 |
USE_LDCONFIG= yes |
21 |
USE_LDCONFIG= yes |
|
|
22 |
MAKE_JOBS_SAFE= yes |
20 |
|
23 |
|
21 |
.if defined(WITHOUT_THREADS) |
24 |
PORTDOCS= xxl.html xxl.pdf |
22 |
CONFIGURE_ARGS= --without-threads |
|
|
23 |
.endif |
24 |
|
25 |
|
25 |
.if !defined(NOPORTDOCS) |
26 |
.include <bsd.port.options.mk> |
26 |
PORTDOCS= xxl.pdf xxl.html |
27 |
|
|
|
28 |
.if ${PORT_OPTIONS:MTHREADS} |
29 |
COFIGURE_ENV+= PTHREAD_CFLAGS="${PTHREAD_CFLAGS}" \ |
30 |
PTHREAD_LIBS="${PTHERAD_LIBS}" |
31 |
.else |
32 |
CONFIGURE_ARGS+=--without-threads |
27 |
.endif |
33 |
.endif |
28 |
|
34 |
|
29 |
post-install: |
35 |
post-install: |
30 |
.if !defined(NOPORTDOCS) |
36 |
.if ${PORT_OPTIONS:MDOCS} |
31 |
@${MKDIR} ${DOCSDIR} |
37 |
@${MKDIR} ${DOCSDIR} |
32 |
${INSTALL_DATA} ${PORTDOCS:S,^,${WRKSRC}/,} ${DOCSDIR}/ |
38 |
(cd ${WRKSRC} && ${INSTALL_DATA} ${PORTDOCS} ${DOCSDIR}) |
33 |
.endif |
39 |
.endif |
34 |
|
40 |
|
|
|
41 |
regression-test test: build |
42 |
@(cd ${WRKSRC} && ${SETENV} ${MAKE_ENV} ${MAKE} ${MAKE_FLAGS} \ |
43 |
${MAKEFILE} ${MAKE_ARGS} check) |
44 |
|
35 |
.include <bsd.port.mk> |
45 |
.include <bsd.port.mk> |