freebsd-ports/x11/gtkterm2/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

50 lines
1.2 KiB
Makefile

# New ports collection makefile for: gtkterm2
# Date created: 2004-06-12
# Whom: michael johnson <ahze@ahze.net>
#
# $FreeBSD$
#
PORTNAME= gtkterm2
PORTVERSION= 0.2.3
PORTREVISION= 3
CATEGORIES= x11
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE_EXTENDED}
MASTER_SITE_SUBDIR= gtkterm
MAINTAINER= ports@FreeBSD.org
COMMENT= A simple GTK-2 terminal with tabs
USE_X_PREFIX= yes
USE_GNOME= gnometarget vte
USE_GETOPT_LONG= yes
USE_REINPLACE= yes
USE_GMAKE= yes
USE_AUTOTOOLS= libtool:15
CONFIGURE_ENV= CPPFLAGS="${CPPFLAGS}" LDFLAGS="${LDFLAGS}"
PORTDOCS= README
PLIST_FILES= bin/gtkterm2 \
share/locale/de/LC_MESSAGES/gtkterm2.mo \
%%DATADIR%%/pixmaps/gtkterm2.png
PLIST_DIRS= %%DATADIR%%/pixmaps %%DATADIR%%
CPPFLAGS= -I${LOCALBASE}/include
LDFLAGS= -L${LOCALBASE}/lib
post-patch:
@${REINPLACE_CMD} -e 's|^CFLAGS=""||g' ${WRKSRC}/configure
do-install:
${INSTALL_PROGRAM} ${WRKSRC}/src/gtkterm2 ${PREFIX}/bin/gtkterm2
${INSTALL_DATA} ${WRKSRC}/po/de.gmo \
${PREFIX}/share/locale/de/LC_MESSAGES/gtkterm2.mo
@${MKDIR} ${DATADIR}/pixmaps
${INSTALL_DATA} ${WRKSRC}/pixmaps/gtkterm2.png \
${DATADIR}/pixmaps/gtkterm2.png
.if !defined(NOPORTDOCS)
@${MKDIR} ${DOCSDIR}
${INSTALL_DATA} ${WRKSRC}/README ${DOCSDIR}/README
.endif
.include <bsd.port.mk>