mirror of
https://git.FreeBSD.org/ports.git
synced 2024-12-26 05:02:18 +00:00
45 lines
825 B
Makefile
45 lines
825 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
|
|
|
|
NO_STAGE= yes
|
|
.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>
|