1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-27 00:57:50 +00:00
freebsd-ports/x11/gtk-launch/Makefile
2013-03-08 14:00:30 +00:00

45 lines
831 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
MAKE_JOBS_SAFE= yes
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} ${PREFIX}/bin
.if ${PORT_OPTIONS:MDOCS}
${MKDIR} ${DOCSDIR}
${INSTALL_DATA} ${WRKSRC}/${PORTDOCS} ${DOCSDIR}
.endif
post-install:
@${CAT} ${PKGMESSAGE}
.include <bsd.port.mk>