mirror of
https://git.FreeBSD.org/ports.git
synced 2025-01-22 08:58:47 +00:00
Clean up the PLIST handling. There is now only one PLIST to maintain.
Submitted by: ade
This commit is contained in:
parent
aba308616a
commit
6d44394778
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=32408
@ -49,6 +49,7 @@ CONFIGURE_ARGS+= --enable-socks
|
||||
|
||||
.if defined(WITH_GNOME)
|
||||
CONFIGURE_ARGS+= --enable-gnome
|
||||
PLIST_SUB+= GNOME:=""
|
||||
.if defined(WITH_PANEL)
|
||||
CONFIGURE_ARGS+= --enable-panel
|
||||
.else
|
||||
@ -56,6 +57,7 @@ CONFIGURE_ARGS+= --disable-panel
|
||||
.endif
|
||||
.else
|
||||
CONFIGURE_ARGS+= --disable-gnome
|
||||
PLIST_SUB+= GNOME:="@comment "
|
||||
.endif
|
||||
|
||||
.if defined(WITH_GDK_PIXBUF)
|
||||
@ -70,10 +72,6 @@ CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include" \
|
||||
GDK_PIXBUF_CONFIG="${GDK_PIXBUF_CONFIG}" \
|
||||
LIBS="-L${LOCALBASE}/lib"
|
||||
|
||||
.if defined(WITH_GNOME)
|
||||
PLIST= ${PKGDIR}/PLIST.gnome
|
||||
.endif
|
||||
|
||||
post-install:
|
||||
@strip ${PREFIX}/bin/xchat
|
||||
.if !defined(NOPORTDOCS)
|
||||
|
@ -14,6 +14,9 @@ share/doc/xchat/xchat-9.html
|
||||
share/doc/xchat/xchat-10.html
|
||||
share/doc/xchat/README
|
||||
share/doc/xchat/ChangeLog
|
||||
%%GNOME:%%share/gnome/apps/Internet/xchat.desktop
|
||||
%%GNOME:%%share/gnome/pixmaps/xchat.png
|
||||
%%GNOME:%%share/gnome/pixmaps/xchat_wm.png
|
||||
share/locale/cs/LC_MESSAGES/xchat.mo
|
||||
share/locale/da/LC_MESSAGES/xchat.mo
|
||||
share/locale/de/LC_MESSAGES/xchat.mo
|
||||
|
@ -45,6 +45,7 @@ CONFIGURE_ARGS+= --enable-socks
|
||||
|
||||
.if defined(WITH_GNOME)
|
||||
CONFIGURE_ARGS+= --enable-gnome
|
||||
PLIST_SUB+= GNOME:=""
|
||||
.if defined(WITH_PANEL)
|
||||
CONFIGURE_ARGS+= --enable-panel
|
||||
.else
|
||||
@ -52,6 +53,7 @@ CONFIGURE_ARGS+= --disable-panel
|
||||
.endif
|
||||
.else
|
||||
CONFIGURE_ARGS+= --disable-gnome
|
||||
PLIST_SUB+= GNOME:="@comment "
|
||||
.endif
|
||||
|
||||
CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include" \
|
||||
@ -59,10 +61,6 @@ CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include" \
|
||||
GLIB_CONFIG="${GLIB_CONFIG}" \
|
||||
LIBS="-L${LOCALBASE}/lib"
|
||||
|
||||
.if defined(WITH_GNOME)
|
||||
PLIST= ${PKGDIR}/PLIST.gnome
|
||||
.endif
|
||||
|
||||
post-install:
|
||||
@strip ${PREFIX}/bin/xchat
|
||||
.if !defined(NOPORTDOCS)
|
||||
|
@ -14,6 +14,8 @@ share/doc/xchat/xchat-9.html
|
||||
share/doc/xchat/xchat-10.html
|
||||
share/doc/xchat/README
|
||||
share/doc/xchat/ChangeLog
|
||||
%%GNOME:%%share/gnome/apps/Internet/xchat.desktop
|
||||
%%GNOME:%%share/gnome/pixmaps/xchat.png
|
||||
share/locale/cs/LC_MESSAGES/xchat.mo
|
||||
share/locale/da/LC_MESSAGES/xchat.mo
|
||||
share/locale/de/LC_MESSAGES/xchat.mo
|
||||
|
@ -45,6 +45,7 @@ CONFIGURE_ARGS+= --enable-socks
|
||||
|
||||
.if defined(WITH_GNOME)
|
||||
CONFIGURE_ARGS+= --enable-gnome
|
||||
PLIST_SUB+= GNOME:=""
|
||||
.if defined(WITH_PANEL)
|
||||
CONFIGURE_ARGS+= --enable-panel
|
||||
.else
|
||||
@ -52,6 +53,7 @@ CONFIGURE_ARGS+= --disable-panel
|
||||
.endif
|
||||
.else
|
||||
CONFIGURE_ARGS+= --disable-gnome
|
||||
PLIST_SUB+= GNOME:="@comment "
|
||||
.endif
|
||||
|
||||
CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include" \
|
||||
@ -59,10 +61,6 @@ CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include" \
|
||||
GLIB_CONFIG="${GLIB_CONFIG}" \
|
||||
LIBS="-L${LOCALBASE}/lib"
|
||||
|
||||
.if defined(WITH_GNOME)
|
||||
PLIST= ${PKGDIR}/PLIST.gnome
|
||||
.endif
|
||||
|
||||
post-install:
|
||||
@strip ${PREFIX}/bin/xchat
|
||||
.if !defined(NOPORTDOCS)
|
||||
|
@ -14,6 +14,8 @@ share/doc/xchat/xchat-9.html
|
||||
share/doc/xchat/xchat-10.html
|
||||
share/doc/xchat/README
|
||||
share/doc/xchat/ChangeLog
|
||||
%%GNOME:%%share/gnome/apps/Internet/xchat.desktop
|
||||
%%GNOME:%%share/gnome/pixmaps/xchat.png
|
||||
share/locale/cs/LC_MESSAGES/xchat.mo
|
||||
share/locale/da/LC_MESSAGES/xchat.mo
|
||||
share/locale/de/LC_MESSAGES/xchat.mo
|
||||
|
@ -45,6 +45,7 @@ CONFIGURE_ARGS+= --enable-socks
|
||||
|
||||
.if defined(WITH_GNOME)
|
||||
CONFIGURE_ARGS+= --enable-gnome
|
||||
PLIST_SUB+= GNOME:=""
|
||||
.if defined(WITH_PANEL)
|
||||
CONFIGURE_ARGS+= --enable-panel
|
||||
.else
|
||||
@ -52,6 +53,7 @@ CONFIGURE_ARGS+= --disable-panel
|
||||
.endif
|
||||
.else
|
||||
CONFIGURE_ARGS+= --disable-gnome
|
||||
PLIST_SUB+= GNOME:="@comment "
|
||||
.endif
|
||||
|
||||
CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include" \
|
||||
@ -59,10 +61,6 @@ CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include" \
|
||||
GLIB_CONFIG="${GLIB_CONFIG}" \
|
||||
LIBS="-L${LOCALBASE}/lib"
|
||||
|
||||
.if defined(WITH_GNOME)
|
||||
PLIST= ${PKGDIR}/PLIST.gnome
|
||||
.endif
|
||||
|
||||
post-install:
|
||||
@strip ${PREFIX}/bin/xchat
|
||||
.if !defined(NOPORTDOCS)
|
||||
|
@ -14,6 +14,8 @@ share/doc/xchat/xchat-9.html
|
||||
share/doc/xchat/xchat-10.html
|
||||
share/doc/xchat/README
|
||||
share/doc/xchat/ChangeLog
|
||||
%%GNOME:%%share/gnome/apps/Internet/xchat.desktop
|
||||
%%GNOME:%%share/gnome/pixmaps/xchat.png
|
||||
share/locale/cs/LC_MESSAGES/xchat.mo
|
||||
share/locale/da/LC_MESSAGES/xchat.mo
|
||||
share/locale/de/LC_MESSAGES/xchat.mo
|
||||
|
@ -45,6 +45,7 @@ CONFIGURE_ARGS+= --enable-socks
|
||||
|
||||
.if defined(WITH_GNOME)
|
||||
CONFIGURE_ARGS+= --enable-gnome
|
||||
PLIST_SUB+= GNOME:=""
|
||||
.if defined(WITH_PANEL)
|
||||
CONFIGURE_ARGS+= --enable-panel
|
||||
.else
|
||||
@ -52,6 +53,7 @@ CONFIGURE_ARGS+= --disable-panel
|
||||
.endif
|
||||
.else
|
||||
CONFIGURE_ARGS+= --disable-gnome
|
||||
PLIST_SUB+= GNOME:="@comment "
|
||||
.endif
|
||||
|
||||
CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include" \
|
||||
@ -59,10 +61,6 @@ CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include" \
|
||||
GLIB_CONFIG="${GLIB_CONFIG}" \
|
||||
LIBS="-L${LOCALBASE}/lib"
|
||||
|
||||
.if defined(WITH_GNOME)
|
||||
PLIST= ${PKGDIR}/PLIST.gnome
|
||||
.endif
|
||||
|
||||
post-install:
|
||||
@strip ${PREFIX}/bin/xchat
|
||||
.if !defined(NOPORTDOCS)
|
||||
|
@ -14,6 +14,8 @@ share/doc/xchat/xchat-9.html
|
||||
share/doc/xchat/xchat-10.html
|
||||
share/doc/xchat/README
|
||||
share/doc/xchat/ChangeLog
|
||||
%%GNOME:%%share/gnome/apps/Internet/xchat.desktop
|
||||
%%GNOME:%%share/gnome/pixmaps/xchat.png
|
||||
share/locale/cs/LC_MESSAGES/xchat.mo
|
||||
share/locale/da/LC_MESSAGES/xchat.mo
|
||||
share/locale/de/LC_MESSAGES/xchat.mo
|
||||
|
Loading…
Reference in New Issue
Block a user