blob: 59359dbd351734663d549385c491cdc9d025c1f5 (
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
42
43
44
45
46
|
# ex:ts=8
# New ports collection makefile for: LeoArg
# Date created: Jun 19, 2001
# Whom: ijliao
#
# $FreeBSD$
#
PORTNAME= leoarg
PORTVERSION= 2.2.4
CATEGORIES= devel
MASTER_SITES= http://kingleo.home.pages.at/development/cpp/
DISTNAME= LeoArg-${PORTVERSION}
MAINTAINER= ports@FreeBSD.org
COMMENT= A class for parsing command lines
USE_REINPLACE= yes
GNU_CONFIGURE= yes
CONFIGURE_TARGET= --build=${MACHINE_ARCH}-portbld-freebsd${OSREL}
INSTALLS_SHLIB= yes
MAN3= LeoArg.3 LeoArg__InvalidOption.3 LeoArg__InvalidSetting.3 \
LeoArg__Option.3 LeoArg__Setting.3 LeoArg_cpp.3 LeoArg_hh.3 \
StringUtils_cpp.3 StringUtils_hh.3 namespace_StringUtils.3
post-extract:
@${RM} -rf ${WRKSRC}/debian
post-patch:
.for file in Makefile.in doc/Makefile.in
@${REINPLACE_CMD} -e 's|^docdir|#docdir|g ; \
s| install-data-local||g' ${WRKSRC}/${file}
.endfor
post-install:
.if !defined(NOPORTDOCS)
@${MKDIR} ${DOCSDIR}
${INSTALL_DATA} ${WRKSRC}/doc/html/*.* ${DOCSDIR}
@${MKDIR} ${EXAMPLESDIR}
.for file in Makefile demo.sh leoargmain.cpp
${INSTALL_DATA} ${WRKSRC}/example/${file} ${EXAMPLESDIR}
.endfor
.endif
.include <bsd.port.mk>
|