freebsd-ports/devel/leoarg/Makefile
Ade Lovett 54a0b86543 Mass-conversion to the USE_AUTOTOOLS New World Order. The code present
in bsd.autotools.mk essentially makes this a no-op given that all the
old variables set a USE_AUTOTOOLS_COMPAT variable, which is parsed in
exactly the same way as USE_AUTOTOOLS itself.

Moreover, USE_AUTOTOOLS has already been extensively tested by the GNOME
team -- all GNOME 2.12.x ports use it.

Preliminary documentation can be found at:
	http://people.FreeBSD.org/~ade/autotools.txt

which is in the process of being SGMLized before introduction into the
Porters Handbook.

Light blue touch-paper.  Run.
2005-11-15 06:52:12 +00:00

52 lines
1.3 KiB
Makefile

# 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_GNOME= gnometarget lthack
USE_AUTOTOOLS= libtool:13:inc
LIBTOOLFLAGS= --disable-ltlibs --disable-static
INSTALLS_SHLIB= yes
PLIST_FILES= include/LeoArg.hh lib/libLeoArg.so lib/libLeoArg.so.2 \
${EXAMPLES:S|^|%%EXAMPLESDIR%%/|}
.if !defined(NOPORTDOCS)
EXAMPLES= Makefile demo.sh leoargmain.cpp
PLIST_DIRS= %%EXAMPLESDIR%%
PORTDOCS= *
.endif
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-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 f in ${EXAMPLES}
${INSTALL_DATA} ${WRKSRC}/example/${f} ${EXAMPLESDIR}
.endfor
.endif
.include <bsd.port.mk>