Lines 6-12
Link Here
|
6 |
# |
6 |
# |
7 |
|
7 |
|
8 |
PORTNAME= ogmrip |
8 |
PORTNAME= ogmrip |
9 |
PORTVERSION= 0.13.1 |
9 |
PORTVERSION= 0.13.2 |
10 |
CATEGORIES= multimedia |
10 |
CATEGORIES= multimedia |
11 |
MASTER_SITES= SF/${PORTNAME}/${PORTNAME}/${PORTVERSION:R}/${PORTVERSION} |
11 |
MASTER_SITES= SF/${PORTNAME}/${PORTNAME}/${PORTVERSION:R}/${PORTVERSION} |
12 |
|
12 |
|
Lines 25-31
Link Here
|
25 |
ogmmerge:${PORTSDIR}/multimedia/ogmtools |
25 |
ogmmerge:${PORTSDIR}/multimedia/ogmtools |
26 |
|
26 |
|
27 |
OPTIONS= GUI "Build the GTK+ GUI" on \ |
27 |
OPTIONS= GUI "Build the GTK+ GUI" on \ |
28 |
HAL "Enable Hardware Abstract Layer (HAL) support" off \ |
|
|
29 |
ENCHANT "Enable spell checking for text subtitles" off \ |
28 |
ENCHANT "Enable spell checking for text subtitles" off \ |
30 |
MATROSKA "Enable Matroska container support" off \ |
29 |
MATROSKA "Enable Matroska container support" off \ |
31 |
MP4 "Enable Mpeg-4 container support" off \ |
30 |
MP4 "Enable Mpeg-4 container support" off \ |
Lines 38-72
Link Here
|
38 |
USE_GETTEXT= yes |
37 |
USE_GETTEXT= yes |
39 |
USE_GMAKE= yes |
38 |
USE_GMAKE= yes |
40 |
USE_AUTOTOOLS= libtool:22 |
39 |
USE_AUTOTOOLS= libtool:22 |
41 |
CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include" \ |
40 |
CONFIGURE_ENV= CPPFLAGS="${CPPFLAGS}" LDFLAGS="${LDFLAGS}" |
42 |
LDFLAGS="-L${LOCALBASE}/lib" \ |
|
|
43 |
ac_cv_path_EJECT_PROG="/usr/sbin/cdcontrol" |
44 |
USE_LDCONFIG= yes |
41 |
USE_LDCONFIG= yes |
45 |
|
42 |
|
46 |
MAN1= dvdcpy.1 avibox.1 |
43 |
MAN1= dvdcpy.1 avibox.1 |
47 |
|
44 |
|
|
|
45 |
CPPFLAGS= -I${LOCALBASE}/include |
46 |
LDFLAGS= -L${LOCALBASE}/lib |
47 |
|
48 |
.include <bsd.port.pre.mk> |
48 |
.include <bsd.port.pre.mk> |
49 |
|
49 |
|
50 |
.if defined(WITHOUT_GUI) |
50 |
.if defined(WITHOUT_GUI) |
51 |
CONFIGURE_ARGS+= --disable-gtk-support --disable-libnotify-support |
51 |
CONFIGURE_ARGS+= --disable-gtk-support --disable-dbus-support \ |
|
|
52 |
--disable-libnotify-support |
52 |
PLIST_SUB+= GUI_SUPPORT="@comment " |
53 |
PLIST_SUB+= GUI_SUPPORT="@comment " |
53 |
.else |
54 |
.else |
54 |
CONFIGURE_ARGS+= --enable-gtk-support --enable-libnotify-support |
55 |
CONFIGURE_ARGS+= --enable-gtk-support --enable-dbus-support \ |
55 |
LIB_DEPENDS+= notify.1:${PORTSDIR}/devel/libnotify |
56 |
--enable-libnotify-support |
|
|
57 |
LIB_DEPENDS+= dbus-glib-1.2:${PORTSDIR}/devel/dbus-glib \ |
58 |
notify.1:${PORTSDIR}/devel/libnotify |
56 |
USE_GNOME+= gconf2 intlhack libglade2 |
59 |
USE_GNOME+= gconf2 intlhack libglade2 |
57 |
GCONF_SCHEMAS= ogmrip.schemas |
60 |
GCONF_SCHEMAS= ogmrip.schemas |
58 |
PLIST_SUB+= GUI_SUPPORT="" |
61 |
PLIST_SUB+= GUI_SUPPORT="" |
59 |
.endif |
62 |
.endif |
60 |
|
63 |
|
61 |
.if defined(WITH_HAL) |
|
|
62 |
CONFIGURE_ARGS+= --enable-hal-support |
63 |
LIB_DEPENDS+= hal:${PORTSDIR}/sysutils/hal |
64 |
PLIST_SUB+= HAL_SUPPORT="" |
65 |
.else |
66 |
CONFIGURE_ARGS+= --disable-hal-support |
67 |
PLIST_SUB+= HAL_SUPPORT="@comment " |
68 |
.endif |
69 |
|
70 |
.if defined(WITH_ENCHANT) |
64 |
.if defined(WITH_ENCHANT) |
71 |
CONFIGURE_ARGS+= --enable-enchant-support |
65 |
CONFIGURE_ARGS+= --enable-enchant-support |
72 |
LIB_DEPENDS+= enchant:${PORTSDIR}/textproc/enchant |
66 |
LIB_DEPENDS+= enchant:${PORTSDIR}/textproc/enchant |
Lines 141-148
Link Here
|
141 |
'/PROGRAM/s|MP4Box|mp4box|g' ${WRKSRC}/libogmrip/ogmrip-mp4.c |
135 |
'/PROGRAM/s|MP4Box|mp4box|g' ${WRKSRC}/libogmrip/ogmrip-mp4.c |
142 |
|
136 |
|
143 |
post-install: |
137 |
post-install: |
144 |
@${ECHO_CMD} "" |
138 |
@${ECHO_MSG} "" |
145 |
@${CAT} ${PKGMESSAGE} |
139 |
@${CAT} ${PKGMESSAGE} |
146 |
@${ECHO_CMD} "" |
140 |
@${ECHO_MSG} "" |
147 |
|
141 |
|
148 |
.include <bsd.port.post.mk> |
142 |
.include <bsd.port.post.mk> |