aboutsummaryrefslogtreecommitdiffstats
path: root/comms/cdr_read
diff options
context:
space:
mode:
authordanfe <danfe@FreeBSD.org>2011-11-21 10:34:11 +0800
committerdanfe <danfe@FreeBSD.org>2011-11-21 10:34:11 +0800
commit59e384b59042654a6617877f9649c52f6caf4a87 (patch)
treee84613bc92ca36c1707a376986e21e9c82f4d201 /comms/cdr_read
parent0fd206d2ec17d87ebc6f1833b9f38260b562a008 (diff)
downloadfreebsd-ports-gnome-59e384b59042654a6617877f9649c52f6caf4a87.tar.gz
freebsd-ports-gnome-59e384b59042654a6617877f9649c52f6caf4a87.tar.zst
freebsd-ports-gnome-59e384b59042654a6617877f9649c52f6caf4a87.zip
- Reindent Makefile header
- Do not hardcode version number twice - Utilize DOS2UNIX instead of trimming \r's by hand - Honor CC and CFLAGS - Unmute installation commands Feature safe: yes
Diffstat (limited to 'comms/cdr_read')
-rw-r--r--comms/cdr_read/Makefile19
1 files changed, 9 insertions, 10 deletions
diff --git a/comms/cdr_read/Makefile b/comms/cdr_read/Makefile
index 7d6a5f90ba45..c3597dd4e49d 100644
--- a/comms/cdr_read/Makefile
+++ b/comms/cdr_read/Makefile
@@ -1,6 +1,6 @@
-# New ports collection makefile for: cdr_read
-# Date created: 15 June 2004
-# Whom: Konstantin Reznichenko <kot@premierbank.dp.ua>
+# New ports collection makefile for: cdr_read
+# Date created: 15 June 2004
+# Whom: Konstantin Reznichenko <kot@premierbank.dp.ua>
#
# $FreeBSD$
#
@@ -9,24 +9,23 @@ PORTNAME= cdr_read
PORTVERSION= 1.09
CATEGORIES= comms
MASTER_SITES= http://www.gamma.ru/~avk/
-DISTNAME= cdrr109
+DISTNAME= cdrr${PORTVERSION:S/.//}
MAINTAINER= ports@FreeBSD.org
COMMENT= Utility for reading of the call detail records from PBX
+USE_DOS2UNIX= readme_eng.txt
+MAKE_ARGS= CC="${CC}" CFLAGS="${CFLAGS}"
NO_WRKSUBDIR= yes
-PORTDOCS= readme.txt
PLIST_FILES= sbin/cdr_read
-
-post-patch:
- @${TR} -d "\015" < ${WRKDIR}/readme_eng.txt > ${WRKDIR}/readme.txt
+PORTDOCS= *
do-install:
- @${INSTALL_PROGRAM} ${WRKDIR}/${PORTNAME} ${PREFIX}/sbin/${PORTNAME}
+ ${INSTALL_PROGRAM} ${WRKDIR}/${PORTNAME} ${PREFIX}/sbin
.if !defined(NOPORTDOCS)
@${MKDIR} ${DOCSDIR}
- @${INSTALL_DATA} ${WRKDIR}/readme.txt ${DOCSDIR}
+ ${INSTALL_DATA} ${WRKDIR}/readme_eng.txt ${DOCSDIR}/readme.txt
.endif
.include <bsd.port.mk>