Support STAGEDIR.
This commit is contained in:
parent
89a9b7d86a
commit
eba7d8f6c3
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=333734
10 changed files with 33 additions and 32 deletions
|
@ -15,17 +15,16 @@ LICENSE= GPLv3 # or later
|
|||
USE_BZIP2= yes
|
||||
USES= gmake # parallel builds (-jX) are broken with BSD make(1)
|
||||
|
||||
MAN1= ${PORTNAME}.1
|
||||
PLIST_FILES= bin/${PORTNAME}
|
||||
PLIST_FILES= bin/${PORTNAME} man/man1/${PORTNAME}.1.gz
|
||||
|
||||
# Change "cd foo; $(MAKE)" into "$(MAKE) -C foo" to unbreak parallel builds
|
||||
NO_STAGE= yes
|
||||
post-patch:
|
||||
@${REINPLACE_CMD} -E 's|cd (.+); (\$$\(MAKE\))|\2 -C \1|' \
|
||||
${WRKSRC}/Makefile
|
||||
@${REINPLACE_CMD} -e 's|g++|${CXX}|g' ${WRKSRC}/src/Makefile
|
||||
|
||||
do-install:
|
||||
${INSTALL_PROGRAM} ${WRKSRC}/src/${PORTNAME} ${PREFIX}/bin
|
||||
${INSTALL_MAN} ${FILESDIR}/${PORTNAME}.1 ${MAN1PREFIX}/man/man1
|
||||
${INSTALL_PROGRAM} ${WRKSRC}/src/${PORTNAME} ${STAGEDIR}${PREFIX}/bin
|
||||
${INSTALL_MAN} ${FILESDIR}/${PORTNAME}.1 ${STAGEDIR}${MAN1PREFIX}/man/man1
|
||||
|
||||
.include <bsd.port.mk>
|
||||
|
|
|
@ -22,15 +22,13 @@ USE_AUTOTOOLS= libtool
|
|||
CPPFLAGS+= -I${LOCALBASE}/include
|
||||
LDFLAGS+= -L${LOCALBASE}/lib
|
||||
|
||||
PLIST_FILES= libexec/gkrellm2/plugins/gkleds.so
|
||||
|
||||
NO_STAGE= yes
|
||||
post-patch:
|
||||
@${REINPLACE_CMD} -e 's|-O2||g ; \
|
||||
s|GK_LDFLAGS|GKM_LDFLAGS|g' ${WRKSRC}/src/Makefile.in
|
||||
|
||||
do-install:
|
||||
${MKDIR} ${STAGEDIR}${PREFIX}/libexec/gkrellm2/plugins
|
||||
${INSTALL_DATA} ${WRKSRC}/src/.libs/gkleds.so \
|
||||
${PREFIX}/libexec/gkrellm2/plugins
|
||||
${STAGEDIR}${PREFIX}/libexec/gkrellm2/plugins
|
||||
|
||||
.include <bsd.port.mk>
|
||||
|
|
3
sysutils/gkleds2/pkg-plist
Normal file
3
sysutils/gkleds2/pkg-plist
Normal file
|
@ -0,0 +1,3 @@
|
|||
libexec/gkrellm2/plugins/gkleds.so
|
||||
@dirrmtry libexec/gkrellm2/plugins
|
||||
@dirrmtry libexec/gkrellm2
|
|
@ -16,16 +16,15 @@ BUILD_DEPENDS= ${LOCALBASE}/include/gkrellm2/gkrellm.h:${PORTSDIR}/sysutils/gkre
|
|||
RUN_DEPENDS= gkrellm:${PORTSDIR}/sysutils/gkrellm2
|
||||
|
||||
USES= pkgconfig
|
||||
PLIST_FILES= libexec/gkrellm2/plugins/trayicons.so
|
||||
|
||||
ALL_TARGET= trayicons.so
|
||||
|
||||
NO_STAGE= yes
|
||||
post-patch:
|
||||
@${REINPLACE_CMD} -e 's|$$(CC) $$(FLAGS)|$$(CC) $$(CFLAGS)|g' \
|
||||
${WRKSRC}/Makefile
|
||||
|
||||
do-install:
|
||||
@${INSTALL_PROGRAM} ${WRKSRC}/${PORTNAME}.so ${PREFIX}/libexec/gkrellm2/plugins/
|
||||
@${MKDIR} ${STAGEDIR}${PREFIX}/libexec/gkrellm2/plugins
|
||||
@${INSTALL_PROGRAM} ${WRKSRC}/${PORTNAME}.so ${STAGEDIR}${PREFIX}/libexec/gkrellm2/plugins/
|
||||
|
||||
.include <bsd.port.mk>
|
||||
|
|
3
sysutils/gkrellm-trayicons/pkg-plist
Normal file
3
sysutils/gkrellm-trayicons/pkg-plist
Normal file
|
@ -0,0 +1,3 @@
|
|||
libexec/gkrellm2/plugins/trayicons.so
|
||||
@dirrmtry libexec/gkrellm2/plugins
|
||||
@dirrmtry libexec/gkrellm2
|
|
@ -20,14 +20,13 @@ WRKSRC= ${WRKDIR}/${PORTNAME}-${PORTVERSION}.orig
|
|||
USES= pkgconfig
|
||||
|
||||
ALL_TARGET=
|
||||
PLIST_FILES= libexec/gkrellm2/plugins/gkrellmwho2.so
|
||||
|
||||
NO_STAGE= yes
|
||||
post-patch:
|
||||
@${REINPLACE_CMD} -e 's|gcc|${CC}|g' ${WRKSRC}/configure ${WRKSRC}/Makefile
|
||||
@${REINPLACE_CMD} -e 's|-O2||' ${WRKSRC}/Makefile
|
||||
|
||||
do-install:
|
||||
${INSTALL_PROGRAM} ${WRKSRC}/gkrellmwho2.so ${PREFIX}/libexec/gkrellm2/plugins/
|
||||
${MKDIR} ${STAGEDIR}${PREFIX}/libexec/gkrellm2/plugins
|
||||
${INSTALL_PROGRAM} ${WRKSRC}/gkrellmwho2.so ${STAGEDIR}${PREFIX}/libexec/gkrellm2/plugins/
|
||||
|
||||
.include <bsd.port.mk>
|
||||
|
|
3
sysutils/gkrellmwho2/pkg-plist
Normal file
3
sysutils/gkrellmwho2/pkg-plist
Normal file
|
@ -0,0 +1,3 @@
|
|||
libexec/gkrellm2/plugins/gkrellmwho2.so
|
||||
@dirrmtry libexec/gkrellm2/plugins
|
||||
@dirrmtry libexec/gkrellm2
|
|
@ -12,13 +12,13 @@ COMMENT= GTK2-based imond-client to control an on(e) disc fli4l router
|
|||
|
||||
LICENSE= GPLv2 # (or later)
|
||||
|
||||
LIB_DEPENDS= pthread-stubs:${PORTSDIR}/devel/libpthread-stubs \
|
||||
pcre:${PORTSDIR}/devel/pcre \
|
||||
cairo:${PORTSDIR}/graphics/cairo \
|
||||
png15:${PORTSDIR}/graphics/png \
|
||||
freetype:${PORTSDIR}/print/freetype2 \
|
||||
expat:${PORTSDIR}/textproc/expat2 \
|
||||
fontconfig:${PORTSDIR}/x11-fonts/fontconfig
|
||||
LIB_DEPENDS= libpthread-stubs.so:${PORTSDIR}/devel/libpthread-stubs \
|
||||
libpcre.so:${PORTSDIR}/devel/pcre \
|
||||
libcairo.so:${PORTSDIR}/graphics/cairo \
|
||||
libpng15.so:${PORTSDIR}/graphics/png \
|
||||
libfreetype.so:${PORTSDIR}/print/freetype2 \
|
||||
libexpat.so:${PORTSDIR}/textproc/expat2 \
|
||||
libfontconfig.so:${PORTSDIR}/x11-fonts/fontconfig
|
||||
|
||||
GNU_CONFIGURE= yes
|
||||
USES= pkgconfig gettext iconv
|
||||
|
@ -29,7 +29,6 @@ USE_XORG= pixman x11 xau xcb xcomposite xcursor xdamage xdmcp xext \
|
|||
CPPFLAGS+= -I${LOCALBASE}/include
|
||||
LDFLAGS+= -L${LOCALBASE}/lib
|
||||
|
||||
NO_STAGE= yes
|
||||
post-patch:
|
||||
@${REINPLACE_CMD} -e \
|
||||
's|/gnome/apps/Internet|/applications|' ${WRKSRC}/Makefile.in
|
||||
|
|
|
@ -12,5 +12,5 @@ share/applications/gtk-imonc.desktop
|
|||
%%DATADIR%%/pixmaps/shutdown.png
|
||||
share/locale/de/LC_MESSAGES/gtk-imonc.mo
|
||||
share/pixmaps/gtk-imonc.png
|
||||
@dirrm %%DATADIR%%/pixmaps
|
||||
@dirrm %%DATADIR%%
|
||||
@dirrmtry %%DATADIR%%/pixmaps
|
||||
@dirrmtry %%DATADIR%%
|
||||
|
|
|
@ -11,13 +11,12 @@ MASTER_SITE_SUBDIR= ${PORTNAME}
|
|||
MAINTAINER= ports@FreeBSD.org
|
||||
COMMENT= GTK2 send-pr tool
|
||||
|
||||
LIB_DEPENDS= esmtp.7:${PORTSDIR}/mail/libesmtp
|
||||
LIB_DEPENDS= libesmtp.so:${PORTSDIR}/mail/libesmtp
|
||||
|
||||
USES= pkgconfig
|
||||
USE_GNOME= gtk20
|
||||
|
||||
MAN1= gtk-send-pr.1
|
||||
PLIST_FILES= bin/gtk-send-pr share/pixmaps/ladybird64.xpm
|
||||
PLIST_FILES= bin/gtk-send-pr man/man1/${PORTNAME}.1.gz share/pixmaps/ladybird64.xpm
|
||||
DESKTOP_ENTRIES="Send Problem Report" \
|
||||
"Send a FreeBSD PR" \
|
||||
"${PREFIX}/share/pixmaps/ladybird64.xpm" \
|
||||
|
@ -25,10 +24,9 @@ DESKTOP_ENTRIES="Send Problem Report" \
|
|||
"System;" \
|
||||
true
|
||||
|
||||
NO_STAGE= yes
|
||||
do-install:
|
||||
@${INSTALL_PROGRAM} ${WRKSRC}/gtk-send-pr ${PREFIX}/bin
|
||||
@${INSTALL_MAN} ${WRKSRC}/common/gtk-send-pr.1 ${PREFIX}/man/man1
|
||||
@${INSTALL_DATA} ${WRKSRC}/icon/ladybird64.xpm ${PREFIX}/share/pixmaps
|
||||
@${INSTALL_PROGRAM} ${WRKSRC}/gtk-send-pr ${STAGEDIR}${PREFIX}/bin
|
||||
@${INSTALL_MAN} ${WRKSRC}/common/gtk-send-pr.1 ${STAGEDIR}${PREFIX}/man/man1
|
||||
@${INSTALL_DATA} ${WRKSRC}/icon/ladybird64.xpm ${STAGEDIR}${PREFIX}/share/pixmaps
|
||||
|
||||
.include <bsd.port.mk>
|
||||
|
|
Loading…
Reference in a new issue