1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-29 01:13:08 +00:00
freebsd-ports/misc/gkrellmlaunch2/Makefile
Martin Wilke 57d32d0668 - Support CC properly
- Stage support
- Add License

PR:		185349
Submitted by:	Ports Fury
2014-01-25 17:00:15 +00:00

37 lines
843 B
Makefile

# Created by: Zach Thompson <hideo@lastamericanempire.com>
# $FreeBSD$
PORTNAME= gkrellmlaunch
PORTVERSION= 0.5
PORTREVISION= 8
CATEGORIES= misc
MASTER_SITES= SF
PKGNAMESUFFIX= 2
MAINTAINER= ports@FreeBSD.org
COMMENT= Application launcher plugin for GKrellM2
LICENSE= GPLv2 # (or later)
BUILD_DEPENDS= gkrellm2>0:${PORTSDIR}/sysutils/gkrellm2
RUN_DEPENDS= gkrellm2>0:${PORTSDIR}/sysutils/gkrellm2
USES= pkgconfig
ALL_TARGET= gkrellmlaunch.so
PLIST_FILES= libexec/gkrellm2/plugins/gkrellmlaunch.so
post-patch:
@${REINPLACE_CMD} -e \
'/^FLAGS/s|-O[0-9]|| ; \
/^FLAGS/s|-g|| ; \
/^CC/s| =| +=| ; \
/^CC/s|gcc||' ${WRKSRC}/Makefile
do-install:
@${MKDIR} ${STAGEDIR}${PREFIX}/libexec/gkrellm2/plugins
(cd ${WRKSRC} && ${INSTALL_LIB} gkrellmlaunch.so \
${STAGEDIR}${PREFIX}/libexec/gkrellm2/plugins)
.include <bsd.port.mk>