diff --git a/sysutils/xcdroast/Makefile b/sysutils/xcdroast/Makefile index c47dfc8065ff..6557df397771 100644 --- a/sysutils/xcdroast/Makefile +++ b/sysutils/xcdroast/Makefile @@ -1,72 +1,73 @@ PORTNAME= xcdroast PORTVERSION= 0.98.a.16 -PORTREVISION= 9 +PORTREVISION= 10 CATEGORIES= sysutils MASTER_SITES= SF/${PORTNAME}/${PORTNAME}/0.98alpha16 \ http://www.xcdroast.org/download/ DISTNAME= ${PORTNAME}-${PORTVERSION:S/.a./alpha/} MAINTAINER= oliver@FreeBSD.org COMMENT= Another X11 frontend to mkisofs/cdrecord OPTIONS_DEFINE= GTK2 NONROOT NLS OPTIONS_DEFAULT= GTK2 NONROOT_DESC= Use xcdroast w/o being root RUN_DEPENDS= cdrecord:sysutils/cdrtools BUILD_DEPENDS= cdrecord:sysutils/cdrtools USES= gettext gmake gnome iconv pkgconfig GNU_CONFIGURE= yes +GNU_CONFIGURE_MANPREFIX=${PREFIX}/share CONFIGURE_ENV+= GTK_CONFIG="${GTK_CONFIG}" \ GLIB_CONFIG="${GLIB_CONFIG}" CONFIGURE_ARGS= --with-cdrtools-prefix=${LOCALBASE} \ --with-libintl-prefix=${LOCALBASE} \ ${ICONV_CONFIGURE_ARG} .include .if ${PORT_OPTIONS:MNLS} CONFIGURE_ARGS+=--disable-nls PLIST_SUB+= NLS="@comment " .else PLIST_SUB+= NLS="" .endif .if ${PORT_OPTIONS:MGTK2} CONFIGURE_ARGS+=--enable-gtk2 USE_GNOME= gtk20 .else CONFIGURE_ARGS+=--disable-gtk2 USE_GNOME= gdkpixbuf .endif .if ${PORT_OPTIONS:MNONROOT} CONFIGURE_ARGS+=--enable-nonrootmode .else CONFIGURE_ARGS+=--disable-nonrootmode .endif post-patch: @${REINPLACE_CMD} -e 's|ver->minor = ver->patch|& = ver->branch|g' \ ${WRKSRC}/src/xtools.c pre-everything:: .if ${PORT_OPTIONS:MNONROOT} @${CAT} ${PKGMESSAGE} @${ECHO_MSG} @${ECHO_MSG} "Are you sure you want this? If not, hit Ctrl+C right now " @${ECHO_MSG} @${ECHO_MSG} " This is a security risk! XCDRost will use an own" @${ECHO_MSG} " wrapping utility which gets a SUID Bit after enabling" @${ECHO_MSG} " the non-root mode inside the application!" @${ECHO_MSG} . if !(defined(PACKAGE_BUILDING) || defined(BATCH)) sleep 5 . endif .endif .include diff --git a/sysutils/xcdroast/pkg-plist b/sysutils/xcdroast/pkg-plist index 4cfc9b9bcd3f..c500356389d3 100644 --- a/sysutils/xcdroast/pkg-plist +++ b/sysutils/xcdroast/pkg-plist @@ -1,51 +1,51 @@ bin/xcdroast lib/xcdroast-0.98/bin/cddbtool lib/xcdroast-0.98/bin/rmtool lib/xcdroast-0.98/bin/vrfytool lib/xcdroast-0.98/bin/wavplay lib/xcdroast-0.98/bin/xcdrwrap lib/xcdroast-0.98/icons/burnproof.gif lib/xcdroast-0.98/icons/cddblogo.gif lib/xcdroast-0.98/icons/dialog_default.png lib/xcdroast-0.98/icons/dialog_error.png lib/xcdroast-0.98/icons/dialog_information.png lib/xcdroast-0.98/icons/dialog_question.png lib/xcdroast-0.98/icons/dialog_warning.png lib/xcdroast-0.98/icons/xcdricon.gif lib/xcdroast-0.98/icons/xcdricon.png lib/xcdroast-0.98/icons/xcdrlogo.gif lib/xcdroast-0.98/sound/test.wav %%NLS%%share/locale/bg/LC_MESSAGES/xcdroast.mo %%NLS%%share/locale/ca/LC_MESSAGES/xcdroast.mo %%NLS%%share/locale/cs/LC_MESSAGES/xcdroast.mo %%NLS%%share/locale/da/LC_MESSAGES/xcdroast.mo %%NLS%%share/locale/de/LC_MESSAGES/xcdroast.mo %%NLS%%share/locale/el_GR/LC_MESSAGES/xcdroast.mo %%NLS%%share/locale/es/LC_MESSAGES/xcdroast.mo %%NLS%%share/locale/et/LC_MESSAGES/xcdroast.mo %%NLS%%share/locale/fi/LC_MESSAGES/xcdroast.mo %%NLS%%share/locale/fr/LC_MESSAGES/xcdroast.mo %%NLS%%share/locale/gl/LC_MESSAGES/xcdroast.mo %%NLS%%share/locale/hr/LC_MESSAGES/xcdroast.mo %%NLS%%share/locale/hu/LC_MESSAGES/xcdroast.mo %%NLS%%share/locale/id/LC_MESSAGES/xcdroast.mo %%NLS%%share/locale/it/LC_MESSAGES/xcdroast.mo %%NLS%%share/locale/ja/LC_MESSAGES/xcdroast.mo %%NLS%%share/locale/lv/LC_MESSAGES/xcdroast.mo %%NLS%%share/locale/nl/LC_MESSAGES/xcdroast.mo %%NLS%%share/locale/no/LC_MESSAGES/xcdroast.mo %%NLS%%share/locale/pl/LC_MESSAGES/xcdroast.mo %%NLS%%share/locale/pt_BR/LC_MESSAGES/xcdroast.mo %%NLS%%share/locale/ro/LC_MESSAGES/xcdroast.mo %%NLS%%share/locale/ru/LC_MESSAGES/xcdroast.mo %%NLS%%share/locale/sk/LC_MESSAGES/xcdroast.mo %%NLS%%share/locale/sq_AL/LC_MESSAGES/xcdroast.mo %%NLS%%share/locale/sv/LC_MESSAGES/xcdroast.mo %%NLS%%share/locale/tr/LC_MESSAGES/xcdroast.mo %%NLS%%share/locale/uk/LC_MESSAGES/xcdroast.mo %%NLS%%share/locale/zh_CN/LC_MESSAGES/xcdroast.mo %%NLS%%share/locale/zh_CN.GB2312/LC_MESSAGES/xcdroast.mo %%NLS%%share/locale/zh_TW/LC_MESSAGES/xcdroast.mo %%NLS%%share/locale/zh_TW.Big5/LC_MESSAGES/xcdroast.mo -man/man1/xcdroast.1.gz +share/man/man1/xcdroast.1.gz @unexec if pw groupshow -n xcdwrite 2>/dev/null 1>&2; then pw groupdel -n xcdwrite; fi