Bug 48757

Summary: [NEW PORT] gdeskcal
Product: Ports & Packages Reporter: Martin Klaffenboeck <martin.klaffenboeck>
Component: Individual Port(s)Assignee: Joe Marcus Clarke <marcus>
Status: Closed FIXED    
Severity: Affects Only Me CC: gnome
Priority: Normal    
Version: Latest   
Hardware: Any   
OS: Any   
Attachments:
Description Flags
gdeskcal.sh none

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 freebsd_triage 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 freebsd_triage 2003-02-28 07:47:02 UTC
State Changed
From-To: open->closed

Committed with some modifications.  Thanks!