mirror of
https://git.FreeBSD.org/ports.git
synced 2024-11-24 00:45:52 +00:00
- Add staging support
- Use gmake as build dependency to eliminate do-build target
This commit is contained in:
parent
b75244839e
commit
c6d94b06c8
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=357613
@ -15,22 +15,15 @@ LICENSE= GPLv2
|
||||
BUILD_DEPENDS= ${LOCALBASE}/include/gkrellm2/gkrellm.h:${PORTSDIR}/sysutils/gkrellm2
|
||||
RUN_DEPENDS= gkrellm:${PORTSDIR}/sysutils/gkrellm2
|
||||
|
||||
USES= pkgconfig
|
||||
USES= gmake pkgconfig
|
||||
USE_GNOME= gtk20
|
||||
|
||||
PLIST_FILES= libexec/gkrellm2/plugins/gkrellmbgchg.so
|
||||
|
||||
NO_STAGE= yes
|
||||
.include <bsd.port.pre.mk>
|
||||
|
||||
do-build:
|
||||
cd ${BUILD_WRKSRC} && ${CC} -shared ${CFLAGS} -fPIC \
|
||||
`pkg-config --cflags --libs gkrellm` gkrellmbgchg.c \
|
||||
-o gkrellmbgchg.so
|
||||
PLUGINDIR= ${STAGEDIR}${PREFIX}/libexec/gkrellm2/plugins
|
||||
|
||||
do-install:
|
||||
@${MKDIR} ${PREFIX}/libexec/gkrellm2/plugins
|
||||
${INSTALL_DATA} ${WRKSRC}/gkrellmbgchg.so \
|
||||
${PREFIX}/libexec/gkrellm2/plugins
|
||||
@${MKDIR} ${PLUGINDIR}
|
||||
${INSTALL_LIB} ${WRKSRC}/gkrellmbgchg.so ${PLUGINDIR}
|
||||
|
||||
.include <bsd.port.post.mk>
|
||||
.include <bsd.port.mk>
|
||||
|
Loading…
Reference in New Issue
Block a user