1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-28 01:06:17 +00:00
freebsd-ports/comms/uird/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

41 lines
791 B
Makefile

# Created by: David Thiel <lx@redundancy.redundancy.org>
# $FreeBSD$
PORTNAME= uird
PORTVERSION= 1.1
CATEGORIES= comms
MASTER_SITES= http://kbinstuff.googlepages.com/ \
http://redundancy.redundancy.org/mirror/
EXTRACT_SUFX= .tgz
MAINTAINER= lx@FreeBSD.org
COMMENT= The Universal IR Receiver Daemon
USE_GMAKE= yes
USES= perl5
WRKSRC= ${WRKDIR}/${PORTNAME}
ALL_TARGET= ${PORTNAME}
PLIST_FILES= bin/uird
PORTDOCS= Documentation
NO_STAGE= yes
OPTIONS_DEFINE= DOCS
.include <bsd.port.options.mk>
post-patch:
@${REINPLACE_CMD} -e 's|gcc|$${CC}\ $${CFLAGS}|; /strip/d' \
${WRKSRC}/Makefile
do-install:
${INSTALL_PROGRAM} ${WRKSRC}/uird ${PREFIX}/bin
.if ${PORT_OPTIONS:MDOCS}
@${MKDIR} ${DOCSDIR}
${INSTALL_DATA} ${WRKSRC}/${PORTDOCS} ${DOCSDIR}
.endif
.include <bsd.port.mk>