1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-22 04:17:44 +00:00
freebsd-ports/x11/gcb/Makefile
Dirk Meyer de78af3ac5 - update to 1.4.1
Reviewed by:	exp8 run on pointyhat
Supported by:	miwi
2010-03-28 06:47:48 +00:00

39 lines
1016 B
Makefile

# New ports collection makefile for: gcb
# Date Created: 30 January 2006
# Whom: Nosov Artem <chip-set@mail.ru>
#
# $FreeBSD$
#
PORTNAME= gcb
PORTVERSION= 0.2.8
PORTREVISION= 6
CATEGORIES= x11
MASTER_SITES= http://freebsd.flatrate.ru/distfiles/ \
http://ccbsd9.csie.nctu.edu.tw/~cp76/gcb/
MAINTAINER= chip-set@mail.ru
COMMENT= A GTK+ tool for managing x11 cut-buffers
HAS_CONFIGURE= yes
USE_BZIP2= yes
USE_GNOME= gtk20
post-patch:
@${REINPLACE_CMD} -e 's|#!/bin/bash|#!${SH}|' \
${WRKSRC}/configure
@${REINPLACE_CMD} -e 's|/usr/local|${PREFIX}|; \
s|^\(CFLAGS\)=\(.*\)-g\ -O\(.*\)|\1+=\2 \3|' \
${WRKSRC}/Makefile
do-install:
${INSTALL_PROGRAM} ${WRKSRC}/${PORTNAME} ${PREFIX}/bin
${INSTALL_DATA} ${WRKSRC}/${PORTNAME}.png ${PREFIX}/share/icons
${MKDIR} ${PREFIX}/share/applications
${INSTALL_DATA} ${FILESDIR}/${PORTNAME}.desktop \
${PREFIX}/share/applications
${MKDIR} ${PREFIX}/share/pixmaps
${INSTALL_DATA} ${WRKSRC}/${PORTNAME}.png ${PREFIX}/share/pixmaps
.include <bsd.port.mk>