Bug 48757 - [NEW PORT] gdeskcal
Summary: [NEW PORT] gdeskcal
Status: Closed FIXED
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: Any Any
: Normal Affects Only Me
Assignee: Joe Marcus Clarke
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2003-02-27 20:40 UTC by Martin Klaffenboeck
Modified: 2003-02-28 07:47 UTC (History)
1 user (show)

See Also:


Attachments
gdeskcal.sh (5.61 KB, text/plain)
2003-02-27 20:40 UTC, Martin Klaffenboeck
no flags Details

Note You need to log in before you can comment on or make changes to this bug.
Description Martin Klaffenboeck 2003-02-27 20:40:02 UTC
This is the port for gdeskcal from http://www.pycage.de/software_gdeskcal.html, a python programm which uses gtk2 for a desktop calendar.  Go to the website and you will see a screenshot.

The pkg-plist is really ok, I created my own do-install things, I hope they are correct.  Please have a look at this.

Thanks,
Martin
Comment 1 corecode@corecode.ath.cx 2003-02-27 23:52:25 UTC
Lately Martin Klaffenboeck told:

> sed 's/^X//' >gdeskcal/Makefile << 'END-of-gdeskcal/Makefile'
[...]
> XDISTNAME=	gDeskCal-0_30

use
DISTFILES=	gDeskCal-${PORTVERSION:S/./_/}${EXTRACT_SUFX}
?

[...]
> XWRKSRC=		${WRKDIR}/gDeskCal-${PORTVERSION}

if you set
PORTNAME=	gDeskCal
this can be skipped

[...]
> XSTRIP=

i doubt this is needed

> Xdo-install:
> X	${MKDIR} ${PREFIX}/share/gnome/gdeskcal
> X	${CP} -vrf ${WRKSRC}/code ${WRKSRC}/gdeskcal \
> X		${WRKSRC}/data ${WRKSRC}/skins \
> X		${PREFIX}/share/gnome/gdeskcal

cp considered harmfull, but i have to agree there is no other easy way
at the moment.

> X	${INSTALL_PROGRAM} ${WRKSRC}/locale/ar_AE/LC_MESSAGES/gdeskcal.mo \
> X		${PREFIX}/share/locale/ar/LC_MESSAGES
[more omitted]
> X	${INSTALL_PROGRAM} ${WRKSRC}/locale/zh_CN/LC_MESSAGES/gdeskcal.mo \
> X		${PREFIX}/share/locale/zh_CN/LC_MESSAGES

you want:
	@cd ${WRKSRC} && ${FIND} locale -name 'gdeskcal.mo' -exec \
		${INSTALL_DATA} {} ${PREFIX}/share/{}
?
at least not ${INSTALL_PROGRAM}

cheers
  simon

-- 
/"\   http://corecode.ath.cx/#donate
\ /
 \     ASCII Ribbon Campaign
/ \  Against HTML Mail and News
Comment 2 Joe Marcus Clarke freebsd_committer 2003-02-28 07:05:57 UTC
Responsible Changed
From-To: freebsd-ports-bugs->marcus

I'll take this.
Comment 3 Joe Marcus Clarke freebsd_committer 2003-02-28 07:47:02 UTC
State Changed
From-To: open->closed

Committed with some modifications.  Thanks!