Bug 79938

Summary: New port:x11-themes/kdmtheme KDM Theme Manager
Product: Ports & Packages Reporter: Jevgenij Lebedinec <illusia>
Component: Individual Port(s)Assignee: freebsd-ports-bugs (Nobody) <ports-bugs>
Status: Closed FIXED    
Severity: Affects Only Me CC: New
Priority: Normal    
Version: Latest   
Hardware: Any   
OS: Any   

Description Jevgenij Lebedinec 2005-04-14 22:30:20 UTC

# This archive contains:
#
#       kdmtheme
#       kdmtheme/Makefile
#       kdmtheme/pkg-descr
#       kdmtheme/pkg-message
#       kdmtheme/distinfo
#       kdmtheme/pkg-plist
#
echo c - kdmtheme
mkdir -p kdmtheme > /dev/null 2>&1
echo x - kdmtheme/Makefile
sed 's/^X//' >kdmtheme/Makefile << 'END-of-kdmtheme/Makefile'
X# New ports collection makefile for:   KDM theme manager
X# Date created:                12 April 2005
X# Whom:                        illusia
X#
X# $FreeBSD$
X#
X
XPORTNAME=      kdmtheme
XPORTVERSION=   0.9
XCATEGORIES=    x11-themes
XMASTER_SITES=  http://smileaf.org/files/
XDISTNAME=      kdmtheme-${PORTVERSION}
X
XMAINTAINER=    illusia@inbox.lv
XCOMMENT=       KDM Theme Manager
X
XUSE_KDEBASE_VER=3
X
XUSE_BZIP2=     yes
XGNU_CONFIGURE= yes
XUSE_GMAKE=     yes
XWRKSRC=                ${WRKDIR}/kdmtheme-${PORTVERSION}
XPORT_SHAREDIR?=        "${PORTNAME}-${PORTVERSION}"
X
Xpost-install:
X       @${CAT} ${PKGMESSAGE}
X
X.include <bsd.port.mk>
END-of-kdmtheme/Makefile
echo x - kdmtheme/pkg-descr
sed 's/^X//' >kdmtheme/pkg-descr << 'END-of-kdmtheme/pkg-descr'
XKDM Theme manager is just what
Xit says a theme Manager for KDM.
XThis control module allows you to easily add,
Xremove and select any KDM theme you want.
X
XWWW: http://kde-apps.org/content/show.php?content=22120
END-of-kdmtheme/pkg-descr
echo x - kdmtheme/pkg-message
sed 's/^X//' >kdmtheme/pkg-message << 'END-of-kdmtheme/pkg-message'
X
X
X=============================================
XHow to use KDM theme manager:
X
X1) Open the KDE-menu and start Control Center
X2) Click on System Administration
X3) Select applet kdmtheme
X4) Have Fun :)
X
X=============================================
END-of-kdmtheme/pkg-message
echo x - kdmtheme/distinfo
sed 's/^X//' >kdmtheme/distinfo << 'END-of-kdmtheme/distinfo'
XMD5 (kdmtheme-0.9.tar.bz2) = 7fef92248f87cbedc86f9be934f997f3
XSIZE (kdmtheme-0.9.tar.bz2) = 607187
END-of-kdmtheme/distinfo
echo x - kdmtheme/pkg-plist
sed 's/^X//' >kdmtheme/pkg-plist << 'END-of-kdmtheme/pkg-plist'
Xlib/kde3/kcm_kdmtheme.la
Xlib/kde3/kcm_kdmtheme.so
Xshare/applications/kde/kdmtheme.desktop
Xshare/doc/HTML/en/kdmtheme/common
Xshare/doc/HTML/en/kdmtheme/index.cache.bz2
Xshare/doc/HTML/en/kdmtheme/index.docbook
Xshare/doc/HTML/en/kdmtheme/kdmtheme.png
Xshare/nls/POSIX
Xshare/nls/en_US.US-ASCII
X@dirrm share/doc/ja
X@dirrm share/doc/HTML/en/kdmtheme
END-of-kdmtheme/pkg-plist
exit
Comment 1 Michael Nottebrock 2005-04-15 00:21:59 UTC
This port had a few problems. I've fixed all of them, but here's for reference 
for your future submissions:

1.) Indentions in Makefiles must be tabs, not spaces. For targets make itself 
will insist on tabs, for varibles it's good practice to use tabs as well 
(saves space in CVS). Many mailers convert tabs to spaces if stuff is pasted 
into them, so do the text-widgets of gtk-send-pr and some editors, so make 
sure to attach shars/diffs instead of pasting them.

2.) The port didn't compile on FreeBSD 4. If you cannot test your ports or 
patches for ports on FreeBSD 4, please note this in the PR.

3.) The port was not PTHREAD_LIBS-safe (configure tries "-lpthread" and will 
use it if it succeeds regardless of the value of PTHREAD_LIBS).

4.) The port Makefile contained one unnecessary and one unused variable.

5.) It's good practice to run pkg-descr through fmt(1) before submitting. It 
generally does a good job with formatting to ports' (and sysinstall's) 
requirements and making things nice to read.

-- 
   ,_,   | Michael Nottebrock               | lofi@freebsd.org
 (/^ ^\) | FreeBSD - The Power to Serve     | http://www.freebsd.org
   \u/   | K Desktop Environment on FreeBSD | http://freebsd.kde.org
Comment 2 Michael Nottebrock freebsd_committer freebsd_triage 2005-04-15 00:25:04 UTC
State Changed
From-To: open->closed

Committed (with modifications), thanks!