freebsd-ports/x11/gtkterm2/Makefile
2019-11-08 11:21:02 +00:00

43 lines
1.1 KiB
Makefile

# Created by: michael johnson <ahze@ahze.net>
# $FreeBSD$
PORTNAME= gtkterm2
PORTVERSION= 0.2.3
PORTREVISION= 12
CATEGORIES= x11
MASTER_SITES= SF/gtkterm/${PORTNAME}/${PORTNAME}-${PORTVERSION}
MAINTAINER= ports@FreeBSD.org
COMMENT= Simple GTK-2 terminal with tabs
LICENSE= GPLv2
LICENSE_FILE= ${WRKSRC}/COPYING
USE_GNOME= vte
USES= gmake gnome libtool localbase pkgconfig
GNU_CONFIGURE= yes
PORTDOCS= README
PLIST_FILES= bin/gtkterm2 \
share/locale/de/LC_MESSAGES/gtkterm2.mo \
%%DATADIR%%/pixmaps/gtkterm2.png
OPTIONS_DEFINE= DOCS
post-patch:
@${REINPLACE_CMD} -e 's|^CFLAGS=""||g' ${WRKSRC}/configure
do-install:
${INSTALL_PROGRAM} ${WRKSRC}/src/gtkterm2 ${STAGEDIR}${PREFIX}/bin/gtkterm2
${INSTALL_DATA} ${WRKSRC}/po/de.gmo \
${STAGEDIR}${PREFIX}/share/locale/de/LC_MESSAGES/gtkterm2.mo
@${MKDIR} ${STAGEDIR}${DATADIR}/pixmaps
${INSTALL_DATA} ${WRKSRC}/pixmaps/gtkterm2.png \
${STAGEDIR}${DATADIR}/pixmaps/gtkterm2.png
do-install-DOCS-on:
@${MKDIR} ${STAGEDIR}${DOCSDIR}
${INSTALL_DATA} ${WRKSRC}/README ${STAGEDIR}${DOCSDIR}
.include <bsd.port.mk>