Lines 3-34
Link Here
|
3 |
|
3 |
|
4 |
PORTNAME= gtkguitune |
4 |
PORTNAME= gtkguitune |
5 |
PORTVERSION= 0.8 |
5 |
PORTVERSION= 0.8 |
6 |
PORTREVISION= 3 |
6 |
DISTVERSIONPREFIX= gtk2- |
|
|
7 |
PORTREVISION= 4 |
7 |
CATEGORIES= audio |
8 |
CATEGORIES= audio |
8 |
MASTER_SITES= http://www.oocities.org/harpin_floh/mysoft/ |
9 |
MASTER_SITES= GENTOO/distfiles \ |
9 |
DISTNAME= ${PORTNAME}-gtk2-${PORTVERSION} |
10 |
http://www.oocities.org/harpin_floh/mysoft/ |
10 |
|
11 |
|
11 |
MAINTAINER= ports@FreeBSD.org |
12 |
MAINTAINER= ports@FreeBSD.org |
12 |
COMMENT= Guitar (and other instruments) tuner for GTK+2 |
13 |
COMMENT= Guitar (and other instruments) tuner for GTK+2 |
13 |
|
14 |
|
14 |
LIB_DEPENDS= libgtkmm-2.4.so:${PORTSDIR}/x11-toolkits/gtkmm24 |
15 |
LICENSE= GPLv2 # (or later) |
15 |
|
16 |
|
16 |
WRKSRC= ${WRKDIR}/${PORTNAME} |
17 |
WRKSRC= ${WRKDIR}/${PORTNAME} |
17 |
|
18 |
|
18 |
USES= pkgconfig |
19 |
USES= pkgconfig |
19 |
NO_STAGE= yes |
20 |
USE_GNOME= gtkmm24 |
20 |
GNU_CONFIGURE= yes |
21 |
GNU_CONFIGURE= yes |
21 |
INSTALLS_ICONS= yes |
22 |
INSTALLS_ICONS= yes |
22 |
|
23 |
|
23 |
PLIST_FILES= bin/${PORTNAME} \ |
24 |
PLIST_FILES= bin/${PORTNAME} \ |
24 |
share/icons/hicolor/scalable/apps/guitune_logo.svg |
25 |
share/icons/hicolor/scalable/apps/guitune_logo.svg |
25 |
|
26 |
|
|
|
27 |
DESKTOP_ENTRIES="GtkGuitune" "" "guitune_logo" "${PORTNAME}" "" "" |
28 |
|
26 |
post-patch: |
29 |
post-patch: |
27 |
@${REINPLACE_CMD} -e \ |
30 |
@${REINPLACE_CMD} -e \ |
28 |
's|VERSION=0.7|VERSION=${PORTVERSION}|g' ${WRKSRC}/configure |
31 |
's|VERSION=0.7|VERSION=${PORTVERSION}|g' ${WRKSRC}/configure |
29 |
.for file in guitune.cc main.cc |
32 |
.for i in guitune.cc main.cc |
30 |
@${REINPLACE_CMD} -e \ |
33 |
@${REINPLACE_CMD} -e \ |
31 |
's|<linux/soundcard.h>|<sys/soundcard.h>|' ${WRKSRC}/${file} |
34 |
's|<linux/soundcard.h>|<sys/soundcard.h>|' ${WRKSRC}/${i} |
32 |
.endfor |
35 |
.endfor |
33 |
|
36 |
|
34 |
.include <bsd.port.mk> |
37 |
.include <bsd.port.mk> |