2001-06-18 07:31:13 +02:00
|
|
|
# ex:ts=8
|
|
|
|
# New ports collection makefile for: LeoArg
|
|
|
|
# Date created: Jun 19, 2001
|
|
|
|
# Whom: ijliao
|
|
|
|
#
|
|
|
|
# $FreeBSD$
|
|
|
|
#
|
|
|
|
|
|
|
|
PORTNAME= leoarg
|
2004-03-11 00:53:55 +01:00
|
|
|
PORTVERSION= 2.2.4
|
2001-06-18 07:31:13 +02:00
|
|
|
CATEGORIES= devel
|
2003-04-27 00:43:35 +02:00
|
|
|
MASTER_SITES= http://kingleo.home.pages.at/development/cpp/
|
2001-06-18 07:31:13 +02:00
|
|
|
DISTNAME= LeoArg-${PORTVERSION}
|
|
|
|
|
|
|
|
MAINTAINER= ports@FreeBSD.org
|
2003-02-20 18:07:10 +01:00
|
|
|
COMMENT= A class for parsing command lines
|
2001-06-18 07:31:13 +02:00
|
|
|
|
2004-03-16 14:58:11 +01:00
|
|
|
USE_GNOME= gnometarget lthack
|
2004-07-09 19:43:11 +02:00
|
|
|
USE_INC_LIBTOOL_VER= 13
|
2001-06-18 07:31:13 +02:00
|
|
|
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
|
|
|
|
|
2002-04-20 17:20:38 +02:00
|
|
|
post-patch:
|
|
|
|
.for file in Makefile.in doc/Makefile.in
|
2002-06-25 20:36:39 +02:00
|
|
|
@${REINPLACE_CMD} -e 's|^docdir|#docdir|g ; \
|
2002-04-20 17:20:38 +02:00
|
|
|
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
|
|
|
|
|
2001-06-18 07:31:13 +02:00
|
|
|
.include <bsd.port.mk>
|