1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-28 01:06:17 +00:00

* Fix some whitespace nits spotted by portlint

* Add a WITHOUT_KDE_MENUS knob to prevent the merging of KDE menus [1]

Submitted by:	Franz Klammer <klammer@webonaut.com> [1]
This commit is contained in:
Joe Marcus Clarke 2003-12-29 19:58:45 +00:00
parent 8483cf6b8a
commit dbd53b94cc
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=96911
4 changed files with 16 additions and 8 deletions

View File

@ -28,20 +28,24 @@ CONFIGURE_ENV= CPPFLAGS="${PTHREAD_CFLAGS} -I${LOCALBASE}/include" \
LDFLAGS="-L${LOCALBASE}/lib ${PTHREAD_LIBS}" \
BSD_PTHREAD_LIBS=${PTHREAD_LIBS}
.if !defined(WITHOUT_KDE_MENUS)
EXTRA_PATCHES= ${FILESDIR}/modules_vfolder_applications-all-users.vfolder-info.in
.endif
.include <bsd.port.pre.mk>
.if exists(${LOCALBASE}/lib/libcdda_paranoia.a)
WITH_CDPARANOIA= yes
WITH_CDPARANOIA= yes
.endif
.if exists(${LOCALBASE}/lib/libfam.a)
WITH_FAM= yes
.endif
.if defined(WITH_CDPARANOIA)
LIB_DEPENDS+= cdda_paranoia.0:${PORTSDIR}/audio/cdparanoia
PLIST_SUB+= CDPARANOIA=""
LIB_DEPENDS+= cdda_paranoia.0:${PORTSDIR}/audio/cdparanoia
PLIST_SUB+= CDPARANOIA=""
.else
PLIST_SUB+= CDPARANOIA="@comment "
PLIST_SUB+= CDPARANOIA="@comment "
.endif
.if defined(WITH_FAM)
LIB_DEPENDS+= fam.0:${PORTSDIR}/devel/fam

View File

@ -28,20 +28,24 @@ CONFIGURE_ENV= CPPFLAGS="${PTHREAD_CFLAGS} -I${LOCALBASE}/include" \
LDFLAGS="-L${LOCALBASE}/lib ${PTHREAD_LIBS}" \
BSD_PTHREAD_LIBS=${PTHREAD_LIBS}
.if !defined(WITHOUT_KDE_MENUS)
EXTRA_PATCHES= ${FILESDIR}/modules_vfolder_applications-all-users.vfolder-info.in
.endif
.include <bsd.port.pre.mk>
.if exists(${LOCALBASE}/lib/libcdda_paranoia.a)
WITH_CDPARANOIA= yes
WITH_CDPARANOIA= yes
.endif
.if exists(${LOCALBASE}/lib/libfam.a)
WITH_FAM= yes
.endif
.if defined(WITH_CDPARANOIA)
LIB_DEPENDS+= cdda_paranoia.0:${PORTSDIR}/audio/cdparanoia
PLIST_SUB+= CDPARANOIA=""
LIB_DEPENDS+= cdda_paranoia.0:${PORTSDIR}/audio/cdparanoia
PLIST_SUB+= CDPARANOIA=""
.else
PLIST_SUB+= CDPARANOIA="@comment "
PLIST_SUB+= CDPARANOIA="@comment "
.endif
.if defined(WITH_FAM)
LIB_DEPENDS+= fam.0:${PORTSDIR}/devel/fam