mirror of
https://git.freebsd.org/ports.git
synced 2025-06-09 23:00:30 -04:00
Add support for STAGEDIR
This commit is contained in:
parent
42a493f522
commit
9df96dcade
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=330097
2 changed files with 6 additions and 7 deletions
|
@ -17,9 +17,6 @@ USES= gmake pathfix
|
||||||
|
|
||||||
CONFIGURE_ARGS= --enable-cli --disable-doc --disable-xinput2
|
CONFIGURE_ARGS= --enable-cli --disable-doc --disable-xinput2
|
||||||
|
|
||||||
MAN1= cnee.1 xnee.1
|
|
||||||
INFO= xnee
|
|
||||||
|
|
||||||
OPTIONS_DEFINE= GNEE PNEE
|
OPTIONS_DEFINE= GNEE PNEE
|
||||||
OPTIONS_SUB= yes
|
OPTIONS_SUB= yes
|
||||||
GNEE_DESC= GUI frontend
|
GNEE_DESC= GUI frontend
|
||||||
|
@ -28,12 +25,10 @@ PNEE_DESC= GNOME panel frontend
|
||||||
GNEE_CONFIGURE_ENABLE= gui
|
GNEE_CONFIGURE_ENABLE= gui
|
||||||
PNEE_CONFIGURE_ENABLE= gnome-applet
|
PNEE_CONFIGURE_ENABLE= gnome-applet
|
||||||
|
|
||||||
NO_STAGE= yes
|
|
||||||
.include <bsd.port.options.mk>
|
.include <bsd.port.options.mk>
|
||||||
|
|
||||||
.if ${PORT_OPTIONS:MGNEE}
|
.if ${PORT_OPTIONS:MGNEE}
|
||||||
USE_GNOME+= gtk20
|
USE_GNOME+= gtk20
|
||||||
MAN1+= gnee.1
|
|
||||||
DESKTOP_ENTRIES= "Gnee" "${COMMENT}" "${PORTNAME}.png" \
|
DESKTOP_ENTRIES= "Gnee" "${COMMENT}" "${PORTNAME}.png" \
|
||||||
"gnee" "Development;" true
|
"gnee" "Development;" true
|
||||||
.endif
|
.endif
|
||||||
|
@ -41,7 +36,6 @@ DESKTOP_ENTRIES= "Gnee" "${COMMENT}" "${PORTNAME}.png" \
|
||||||
.if ${PORT_OPTIONS:MPNEE}
|
.if ${PORT_OPTIONS:MPNEE}
|
||||||
BROKEN= Does not build, needs newer gnomepanel
|
BROKEN= Does not build, needs newer gnomepanel
|
||||||
USE_GNOME+= gnomepanel
|
USE_GNOME+= gnomepanel
|
||||||
MAN1+= pnee.1
|
|
||||||
.else
|
.else
|
||||||
CONFIGURE_ENV+= libgnomeui_CFLAGS="${TRUE}" \
|
CONFIGURE_ENV+= libgnomeui_CFLAGS="${TRUE}" \
|
||||||
libgnomeui_LIBS="${TRUE}"
|
libgnomeui_LIBS="${TRUE}"
|
||||||
|
@ -70,6 +64,6 @@ post-patch:
|
||||||
's|cp $$(PNEE)|$$(INSTALL_PROGRAM) $$(PNEE)|g' ${WRKSRC}/pnee/src/Makefile.in
|
's|cp $$(PNEE)|$$(INSTALL_PROGRAM) $$(PNEE)|g' ${WRKSRC}/pnee/src/Makefile.in
|
||||||
|
|
||||||
post-install:
|
post-install:
|
||||||
${INSTALL_DATA} ${WRKSRC}/doc/xnee.info ${PREFIX}/${INFO_PATH}
|
${INSTALL_DATA} ${WRKSRC}/doc/xnee.info ${STAGEDIR}${PREFIX}/${INFO_PATH}
|
||||||
|
|
||||||
.include <bsd.port.mk>
|
.include <bsd.port.mk>
|
||||||
|
|
|
@ -1,7 +1,12 @@
|
||||||
bin/cnee
|
bin/cnee
|
||||||
%%GNEE%%bin/gnee
|
%%GNEE%%bin/gnee
|
||||||
|
info/xnee.info
|
||||||
%%PNEE%%libdata/bonobo/servers/pnee.server
|
%%PNEE%%libdata/bonobo/servers/pnee.server
|
||||||
%%PNEE%%libexec/pnee
|
%%PNEE%%libexec/pnee
|
||||||
|
man/man1/cnee.1.gz
|
||||||
|
%%GNEE%%man/man1/gnee.1.gz
|
||||||
|
%%PNEE%%man/man1/pnee.1.gz
|
||||||
|
man/man1/xnee.1.gz
|
||||||
share/pixmaps/xnee.png
|
share/pixmaps/xnee.png
|
||||||
share/pixmaps/xnee.xpm
|
share/pixmaps/xnee.xpm
|
||||||
%%DATADIR%%/example1.xns
|
%%DATADIR%%/example1.xns
|
||||||
|
|
Loading…
Add table
Reference in a new issue