aboutsummaryrefslogtreecommitdiff
path: root/x11/kde3-apireference/Makefile
diff options
context:
space:
mode:
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>