- Replace ${MASTER_SITE_FOO} with FOO. - Merge MASTER_SITE_SUBDIR into MASTER_SITES when possible. (This means 99.9% of the time.) - Remove occurrences of MASTER_SITE_LOCAL when no subdirectory was present and no hint of what it should be was present. - Fix some logic. - And generally, make things more simple and easy to understand. While there, add magic values to the FESTIVAL, GENTOO, GIMP, GNUPG, QT and SAMBA macros. Also, replace some EXTRACT_SUFX occurences with USES=tar:*. Checked by: make fetch-urlall-list With hat: portmgr Sponsored by: Absolight
37 lines
848 B
Makefile
37 lines
848 B
Makefile
# Created by: Eric Anholt <anholt@FreeBSD.org>
|
|
# $FreeBSD$
|
|
|
|
PORTNAME= gtkguitune
|
|
PORTVERSION= 0.8
|
|
DISTVERSIONPREFIX= gtk2-
|
|
PORTREVISION= 5
|
|
CATEGORIES= audio
|
|
MASTER_SITES= GENTOO \
|
|
http://www.oocities.org/harpin_floh/mysoft/
|
|
|
|
MAINTAINER= ports@FreeBSD.org
|
|
COMMENT= Guitar (and other instruments) tuner for GTK+2
|
|
|
|
LICENSE= GPLv2 # (or later)
|
|
|
|
WRKSRC= ${WRKDIR}/${PORTNAME}
|
|
|
|
USES= pkgconfig
|
|
USE_GNOME= gtkmm24
|
|
GNU_CONFIGURE= yes
|
|
INSTALLS_ICONS= yes
|
|
|
|
PLIST_FILES= bin/${PORTNAME} \
|
|
share/icons/hicolor/scalable/apps/guitune_logo.svg
|
|
|
|
DESKTOP_ENTRIES="GtkGuitune" "" "guitune_logo" "${PORTNAME}" "" ""
|
|
|
|
post-patch:
|
|
@${REINPLACE_CMD} -e \
|
|
's|VERSION=0.7|VERSION=${PORTVERSION}|g' ${WRKSRC}/configure
|
|
.for i in guitune.cc main.cc
|
|
@${REINPLACE_CMD} -e \
|
|
's|<linux/soundcard.h>|<sys/soundcard.h>|' ${WRKSRC}/${i}
|
|
.endfor
|
|
|
|
.include <bsd.port.mk>
|