aboutsummaryrefslogtreecommitdiff
path: root/www/analog/Makefile
diff options
context:
space:
mode:
authorWill Andrews <will@FreeBSD.org>2000-06-04 19:21:07 +0000
committerWill Andrews <will@FreeBSD.org>2000-06-04 19:21:07 +0000
commitf461e56415f4e6fc8e2f4972c15d2859c44dfe01 (patch)
treeee4735b909bb1f47709c54dc6a80055757e09b1e /www/analog/Makefile
parenta547285c7b4c92219a69282c485288119756aa7e (diff)
downloadports-f461e56415f4e6fc8e2f4972c15d2859c44dfe01.tar.gz
ports-f461e56415f4e6fc8e2f4972c15d2859c44dfe01.zip
Update to 4.11. General Makefile cleanups.
PR: 18984 Submitted by: Trevor Johnson <trevor@jpj.net>
Notes
Notes: svn path=/head/; revision=29181
Diffstat (limited to 'www/analog/Makefile')
-rw-r--r--www/analog/Makefile35
1 files changed, 12 insertions, 23 deletions
diff --git a/www/analog/Makefile b/www/analog/Makefile
index 2f5a16ed08a1..99399b753b1c 100644
--- a/www/analog/Makefile
+++ b/www/analog/Makefile
@@ -1,5 +1,4 @@
# New ports collection makefile for: analog
-# http://www.analog.cx/
# Date created: October 21st 1996
# Whom: jfitz
#
@@ -7,7 +6,7 @@
#
PORTNAME= analog
-PORTVERSION= 4.1
+PORTVERSION= 4.11
CATEGORIES= www
MASTER_SITES= http://www.analog.cx/ \
http://brendanr.simplenet.com/analog/ \
@@ -27,28 +26,18 @@ MAKE_FLAGS= -DPREFIX=${PREFIX} -f
ALL_TARGET= analog
do-install:
- install -d -o ${SHAREOWN} -g ${SHAREGRP} -m 555 \
- ${PREFIX}/share/doc/analog
- install -d -o ${BINOWN} -g ${BINGRP} -m 755 \
- ${PREFIX}/lib/analog/lang
- install -d -o nobody -g nogroup -m 755 \
- ${PREFIX}/www/data/images
- cd ${WRKSRC}/images && \
- ${INSTALL_DATA} * ${PREFIX}/www/data/images
- cd ${WRKSRC}/lang && \
- ${INSTALL_DATA} * ${PREFIX}/lib/analog/lang
- cd ${WRKSRC} && \
- ${INSTALL_PROGRAM} analog ${PREFIX}/bin
- cd ${WRKSRC} && \
- for file in analog.cfg ; do \
- if [ ! -f ${PREFIX}/etc/$$file ] ; then \
- ${INSTALL_DATA} -m 644 $$file ${PREFIX}/etc/$$file ; \
- fi ; \
- ${INSTALL_DATA} -m 644 $$file ${PREFIX}/etc/$$file-dist ; \
- done
+ ${MKDIR} ${PREFIX}/share/doc/analog
+ ${MKDIR} ${PREFIX}/lib/analog/lang
+ ${MKDIR} ${PREFIX}/www/data/images
+ ${INSTALL_DATA} ${WRKSRC}/images/* ${PREFIX}/www/data/images
+ ${INSTALL_DATA} ${WRKSRC}/lang/* ${PREFIX}/lib/analog/lang
+ ${INSTALL_PROGRAM} ${WRKSRC}/analog ${PREFIX}/bin
+.if !exists(${PREFIX}/etc/analog.cfg)
+ ${INSTALL_DATA} ${WRKSRC}/analog.cfg ${PREFIX}/etc
+.endif
+ ${INSTALL_DATA} ${WRKSRC}/analog.cfg ${PREFIX}/etc/analog.cfg.dist
.if !defined(NOPORTDOCS)
- cd ${WRKSRC}/docs && \
- ${INSTALL_DATA} * ${PREFIX}/share/doc/analog
+ ${INSTALL_DATA} ${WRKSRC}/docs/* ${PREFIX}/share/doc/analog
.endif
.include <bsd.port.mk>