Lines 7-27
Link Here
|
7 |
# |
7 |
# |
8 |
|
8 |
|
9 |
PORTNAME= easytag |
9 |
PORTNAME= easytag |
10 |
PORTVERSION= 0.15 |
10 |
PORTVERSION= 0.17 |
11 |
CATEGORIES= audio |
11 |
CATEGORIES= audio |
12 |
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE} |
12 |
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE} |
13 |
MASTER_SITE_SUBDIR= ${PORTNAME} |
13 |
MASTER_SITE_SUBDIR= ${PORTNAME} |
14 |
|
14 |
|
15 |
MAINTAINER= ports@FreeBSD.org |
15 |
MAINTAINER= ports@FreeBSD.org |
16 |
|
16 |
|
17 |
LIB_DEPENDS= intl.1:${PORTSDIR}/devel/gettext \ |
17 |
LIB_DEPENDS= id3-3.7.13:${PORTSDIR}/audio/id3lib \ |
18 |
id3:${PORTSDIR}/audio/id3lib |
18 |
vorbis.1:${PORTSDIR}/audio/libvorbis |
19 |
|
19 |
|
20 |
USE_GTK= yes |
20 |
USE_GTK= yes |
21 |
USE_GMAKE= yes |
21 |
GNU_CONFIGURE= yes |
22 |
MAKE_ENV= CFLAGS="${CFLAGS}" |
22 |
CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include" \ |
|
|
23 |
LDFLAGS="-L${LOCALBASE}/lib" |
23 |
|
24 |
|
24 |
post-patch: |
25 |
post-patch: |
25 |
@${PERL} -pi -e "s,gtk-config,${GTK_CONFIG},g" ${WRKSRC}/Makefile |
26 |
@${PERL} -pi -e 's|`gtk-config |`\$$GTK_CONFIG |g ; \ |
|
|
27 |
s|DATADIRNAME=lib|DATADIRNAME=share|g' ${WRKSRC}/configure |
28 |
@${FIND} ${WRKSRC} -name "Makefile.in" | ${XARGS} ${PERL} -pi -e \ |
29 |
's|^gnome_menu|#gnome_menu|g ; \ |
30 |
s|^icon|#icon|g' |
26 |
|
31 |
|
27 |
.include <bsd.port.mk> |
32 |
.include <bsd.port.mk> |