mirror of
https://git.FreeBSD.org/ports.git
synced 2024-11-26 00:55:14 +00:00
8d567d8c60
- MASTER_SITES has moved to sourceforge - use EXAMPLESDIR PR: 41897 Submitted by: Sergei Kolobov <sergei@kolobov.com>
38 lines
985 B
Makefile
38 lines
985 B
Makefile
# New ports collection makefile for: devtodo
|
|
# Date Created: 26 May 2001
|
|
# Whom: Pete Fritchman <petef@databits.net>
|
|
#
|
|
# $FreeBSD$
|
|
#
|
|
|
|
PORTNAME= devtodo
|
|
PORTVERSION= 0.1.14
|
|
CATEGORIES= devel
|
|
MASTER_SITES= http://devtodo.sourceforge.net/?${PORTVERSION}/
|
|
|
|
MAINTAINER= petef@FreeBSD.org
|
|
|
|
GNU_CONFIGURE= yes
|
|
|
|
# Note: without this define util/regex.c doesn't compile due to redeclaration
|
|
# of malloc and realloc functions. Adding this define was the simplest
|
|
# (although not elegant) solution.
|
|
CFLAGS+= -DSTDC_HEADERS
|
|
|
|
MAN1= devtodo.1
|
|
MLINKS= devtodo.1 tda.1 devtodo.1 tdd.1 devtodo.1 tde.1 devtodo.1 tdr.1 \
|
|
devtodo.1 todo.1
|
|
MANCOMPRESSED= yes
|
|
|
|
post-patch:
|
|
@${PERL} -pi -e 's/^\ttest -f.*todorc.*\n//' ${WRKSRC}/doc/Makefile.in
|
|
|
|
post-install:
|
|
@${MKDIR} ${EXAMPLESDIR}
|
|
.for file in scripts.sh scripts.tcsh todorc.example
|
|
${INSTALL_DATA} ${WRKSRC}/doc/${file} ${EXAMPLESDIR}
|
|
.endfor
|
|
${INSTALL_DATA} ${WRKSRC}/doc/todorc.example ${PREFIX}/etc/todorc.sample
|
|
|
|
.include <bsd.port.mk>
|