freebsd-ports/x11/gtk-launch/Makefile
2013-10-23 19:36:17 +00:00

43 lines
844 B
Makefile

# Created by: Emanuel Haupt <ehaupt@critical.ch>
# $FreeBSD$
PORTNAME= gtk-launch
DISTVERSION= 1.1b
PORTREVISION= 4
CATEGORIES= x11
MASTER_SITES= http://pierric.descamps.free.fr/pierric/downloads/ \
CRITICAL
MAINTAINER= ehaupt@FreeBSD.org
COMMENT= Fast GTK+ program launcher
USE_GNOME= gtk12
PLIST_FILES= bin/gtk-launch
PORTDOCS= INSTALL
PORTSCOUT= skipv:1.1
OPTIONS_DEFINE=DOCS
.include <bsd.port.options.mk>
post-patch:
${ECHO_CMD} >> ${WRKSRC}/launch.c
do-build:
${CC} ${CFLAGS} `${GTK_CONFIG} --cflags --libs` \
-o ${WRKSRC}/${PORTNAME} ${WRKSRC}/launch.c
do-install:
${INSTALL_PROGRAM} ${WRKSRC}/${PORTNAME} ${STAGEDIR}${PREFIX}/bin
.if ${PORT_OPTIONS:MDOCS}
${MKDIR} ${STAGEDIR}${DOCSDIR}
${INSTALL_DATA} ${WRKSRC}/${PORTDOCS} ${STAGEDIR}${DOCSDIR}
.endif
post-install:
@${CAT} ${PKGMESSAGE}
.include <bsd.port.mk>