aboutsummaryrefslogtreecommitdiff
path: root/x11/kde3-apireference/Makefile
diff options
context:
space:
mode:
authorMarkus Brueffer <markus@FreeBSD.org>2005-07-10 12:38:15 +0000
committerMarkus Brueffer <markus@FreeBSD.org>2005-07-10 12:38:15 +0000
commit7ab38b9c1ab90d6f63dd6394fbfffc2946573496 (patch)
tree7f277144b5a91dea4318d4fd6a1d9a72cdca6040 /x11/kde3-apireference/Makefile
parent8a6844c8d9dee81c1e5decb68aa473a149bdab3c (diff)
downloadports-7ab38b9c1ab90d6f63dd6394fbfffc2946573496.tar.gz
ports-7ab38b9c1ab90d6f63dd6394fbfffc2946573496.zip
Notes
Diffstat (limited to 'x11/kde3-apireference/Makefile')
-rw-r--r--x11/kde3-apireference/Makefile25
1 files changed, 14 insertions, 11 deletions
diff --git a/x11/kde3-apireference/Makefile b/x11/kde3-apireference/Makefile
index 2c25415f5c34..366067109aa1 100644
--- a/x11/kde3-apireference/Makefile
+++ b/x11/kde3-apireference/Makefile
@@ -1,18 +1,19 @@
-# New ports collection makefile for: kde_api_reference_31
+# New ports collection makefile for: kde3-apireference
# Date created: 2004/01/02
# Whom: Heiner <h.eichmann@gmx.de>
#
# $FreeBSD$
#
-PORTNAME= kde31-apireference
-PORTVERSION= 3.1
+PORTNAME= kde3-apireference
+PORTVERSION= 3.4
CATEGORIES= x11 kde
-MASTER_SITES= http://developer.kde.org/documentation/library/3.1-api/
-DISTNAME= 3.1-api
+MASTER_SITES= http://developer.kde.org/documentation/library/${PORTVERSION}-api/
+DISTNAME= ${PORTVERSION}-api
+DIST_SUBDIR= KDE
MAINTAINER= h.eichmann@gmx.de
-COMMENT= API reference for KDE 3.1
+COMMENT= API reference for KDE 3
IGNOREFILES= ${ALLFILES}
USE_BZIP2= yes
@@ -20,12 +21,14 @@ USE_BZIP2= yes
PLIST= ${WRKDIR}/plist
do-build:
- @cd ${WRKSRC} ; ${FIND} * -type f | ${SED} -e "s#^#share/doc/kdeapi31/#" > ${WRKDIR}/plist
- @cd ${WRKSRC} ; ${FIND} * -type d | sort -r | ${SED} -e "s#^#@dirrm share/doc/kdeapi31/#" >> ${WRKDIR}/plist
- @${ECHO} "@dirrm share/doc/kdeapi31" >> ${WRKDIR}/plist
+ @cd ${WRKSRC} ; ${FIND} * -type d -delete
+ @cd ${WRKSRC} ; ${FIND} * -type f | ${SED} -e "s#^#share/doc/kdeapi3/#" > ${WRKDIR}/plist
+ @cd ${WRKSRC} ; ${FIND} * -type l | ${SED} -e "s#^#share/doc/kdeapi3/#" >> ${WRKDIR}/plist
+ @cd ${WRKSRC} ; ${FIND} * -type d | ${SORT} -r | ${SED} -e "s#^#@dirrm share/doc/kdeapi3/#" >> ${WRKDIR}/plist
+ @${ECHO} "@dirrm share/doc/kdeapi3" >> ${WRKDIR}/plist
do-install:
- @${MKDIR} ${PREFIX}/share/doc/kdeapi31
- @${CP} -r ${WRKSRC}/* ${PREFIX}/share/doc/kdeapi31
+ @${MKDIR} ${PREFIX}/share/doc/kdeapi3
+ @${CP} -r ${WRKSRC}/* ${PREFIX}/share/doc/kdeapi3
.include <bsd.port.mk>