1
0
mirror of https://git.FreeBSD.org/ports.git synced 2025-01-09 06:51:44 +00:00
freebsd-ports/astro/gkrellmoon2/Makefile
Emanuel Haupt 5005b67362 According to the Porter's Handbook (5.12.2.3.) default options must be added to
OPTIONS_DEFINE. This policy has been implemented only recently that's why we
have many ports violating this policy.

This patch adds the default options specified in the Porter's Handbook to
OPTIONS_DEFINE where they are being used. Ports maintained by
gnome@FreeBSD.org, kde@FreeBSD.org and x11@FreeBSD.org have been excluded.

Approved by:    portmgr (bapt)
2014-02-10 13:54:26 +00:00

37 lines
879 B
Makefile

# Created by: Jan Srzednicki <w@wrzask.pl>
# $FreeBSD$
PORTNAME= gkrellmoon2
PORTVERSION= 0.6
PORTREVISION= 9
CATEGORIES= astro
MASTER_SITES= SF/gkrellmoon/gkrellmoon/${PORTVERSION}
DISTNAME= gkrellmoon-${PORTVERSION}
MAINTAINER= w@wrzask.pl
COMMENT= A moon clock plugin for Gkrellm2
BUILD_DEPENDS= ${LOCALBASE}/include/gkrellm2/gkrellm.h:${PORTSDIR}/sysutils/gkrellm2
RUN_DEPENDS= gkrellm:${PORTSDIR}/sysutils/gkrellm2
NO_STAGE= yes
USES= pkgconfig
USE_GNOME= gtk20
ALL_TARGET= gkrellmoon.so
OPTIONS_DEFINE= DOCS
.include <bsd.port.options.mk>
do-install:
${INSTALL_DATA} ${WRKSRC}/gkrellmoon.so \
${PREFIX}/libexec/gkrellm2/plugins
.if ${PORT_OPTIONS:MDOCS}
${INSTALL} -d -o ${SHAREOWN} -g ${SHAREGRP} -m ${SHAREMODE} \
${PREFIX}/share/doc/${PORTNAME}
${INSTALL_DATA} ${WRKSRC}/README ${PREFIX}/share/doc/${PORTNAME}
.endif #NOPORTDOCS
.include <bsd.port.mk>