Bug 48726 - New Port: deskutils/ljcharm
Summary: New Port: deskutils/ljcharm
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: freebsd-ports-bugs (Nobody)
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2003-02-26 23:50 UTC by Carl Schmidt
Modified: 2003-03-02 20:04 UTC (History)
0 users

See Also:


Attachments
ljcharm.shar (2.18 KB, text/plain)
2003-02-26 23:50 UTC, Carl Schmidt
no flags Details
file.diff (317 bytes, patch)
2003-02-26 23:50 UTC, Carl Schmidt
no flags Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Carl Schmidt 2003-02-26 23:50:07 UTC
Charm is a CLI to LiveJournal servers.
Comment 1 corecode@corecode.ath.cx 2003-02-27 02:30:29 UTC
Lately Carl Schmidt told:

> sed 's/^X//' >ljcharm/Makefile << 'END-of-ljcharm/Makefile'
[...]
> X	@${INSTALL_MAN} ${WRKSRC}/sample.charmrc ${PREFIX}/share/examples/charm

${INSTALL_DATA}

> X.if !defined(NOPORTDOCS)
> X	@${MKDIR} ${PREFIX}/share/doc/charm
> X	@${INSTALL_MAN} ${WRKSRC}/CHANGES.charm ${PREFIX}/share/doc/charm/CHANGES
> X	@${INSTALL_MAN} ${WRKSRC}/README.charm ${PREFIX}/share/doc/charm/README
> X.endif

same here


cheers
  simon

-- 
/"\   http://corecode.ath.cx/#donate
\ /
 \     ASCII Ribbon Campaign
/ \  Against HTML Mail and News
Comment 2 Carl Schmidt 2003-02-27 03:32:34 UTC
Regarding ${INSTALL_DATA}:

http://www.freebsd.org/doc/en_US.ISO8859-1/books/porters-handbook/dads-documentation.html

I figured ${INSTALL_DATA} was correct since everything else seems to
use it.  I wanted to follow the directions though just to be sure.
I assume then that the directions are wrong.
Comment 3 Carl Schmidt 2003-02-27 06:22:32 UTC
New shell archive follows:

# This is a shell archive.  Save it in a file, remove anything before
# this line, and then unpack it by entering "sh file".  Note, it may
# create directories; files and directories will be owned by you and
# have default permissions.
#
# This archive contains:
#
#	ljcharm
#	ljcharm/Makefile
#	ljcharm/distinfo
#	ljcharm/pkg-descr
#	ljcharm/pkg-plist
#
echo c - ljcharm
mkdir -p ljcharm > /dev/null 2>&1
echo x - ljcharm/Makefile
sed 's/^X//' >ljcharm/Makefile << 'END-of-ljcharm/Makefile'
X# Ports collection Makefile for:	ljcharm
X# Date created:				2003-02-26
X# Whom:					schmidtcarl@earthlink.net
X#
X# $FreeBSD$
X#
X
XPORTNAME=	charm
XPORTVERSION=	1.3.0
XCATEGORIES=	deskutils net
XMASTER_SITES=		${MASTER_SITE_SOURCEFORGE}
XMASTER_SITE_SUBDIR=	ljcharm
X
XMAINTAINER=	schmidtcarl@earthlink.net
XCOMMENT=	A menu-driven python-based livejournal client
X
XUSE_PYTHON=	yes
XUSE_PYDISTUTILS=yes
X
Xpost-install:
X	@${INSTALL_SCRIPT} ${WRKSRC}/charm ${PREFIX}/bin
X
X	@${MKDIR} ${PREFIX}/share/examples/charm
X	@${INSTALL_DATA} ${WRKSRC}/sample.charmrc ${PREFIX}/share/examples/charm
X
X.if !defined(NOPORTDOCS)
X	@${MKDIR} ${PREFIX}/share/doc/charm
X	@${INSTALL_DATA} ${WRKSRC}/CHANGES.charm ${PREFIX}/share/doc/charm/CHANGES
X	@${INSTALL_DATA} ${WRKSRC}/README.charm ${PREFIX}/share/doc/charm/README
X.endif
X
X.include <bsd.port.mk>
END-of-ljcharm/Makefile
echo x - ljcharm/distinfo
sed 's/^X//' >ljcharm/distinfo << 'END-of-ljcharm/distinfo'
XMD5 (charm-1.3.0.tar.gz) = b0662384d52fc873ce517209e51acd9c
END-of-ljcharm/distinfo
echo x - ljcharm/pkg-descr
sed 's/^X//' >ljcharm/pkg-descr << 'END-of-ljcharm/pkg-descr'
XCharm is a command-line client written in Python for interacting with
XLiveJournal servers.
X
XWWW: http://ljcharm.sourceforge.net/
X
X- Carl Schmidt
Xschmidtcarl@earthlink.net
END-of-ljcharm/pkg-descr
echo x - ljcharm/pkg-plist
sed 's/^X//' >ljcharm/pkg-plist << 'END-of-ljcharm/pkg-plist'
Xbin/charm
X%%PYTHON_SITELIBDIR%%/ljcharm.py
X%%PYTHON_SITELIBDIR%%/ljcharm.pyc
X%%PYTHON_SITELIBDIR%%/ljcharm.pyo
X%%PORTDOCS%%share/doc/charm/CHANGES
X%%PORTDOCS%%share/doc/charm/README
X%%PORTDOCS%%@dirrm share/doc/charm
Xshare/examples/charm/sample.charmrc
X@dirrm share/examples/charm
END-of-ljcharm/pkg-plist
exit
Comment 4 Joe Marcus Clarke freebsd_committer freebsd_triage 2003-03-02 20:04:42 UTC
State Changed
From-To: open->closed

Committed, thanks!