Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 22 Jan 2003 05:50:03 -0800 (PST)
From:      "Simon 'corecode' Schubert" <corecode@corecode.ath.cx>
To:        freebsd-ports-bugs@FreeBSD.org
Subject:   Re: ports/47339: new port: misc/wmdrawer
Message-ID:  <200301221350.h0MDo3Pn018639@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help
The following reply was made to PR ports/47339; it has been noted by GNATS.

From: "Simon 'corecode' Schubert" <corecode@corecode.ath.cx>
To: Josef El-Rayes <j.el-rayes@daemon.li>
Cc: FreeBSD-gnats-submit@FreeBSD.org
Subject: Re: ports/47339: new port: misc/wmdrawer
Date: Wed, 22 Jan 2003 14:48:42 +0100

 --=.)BMXeCTesHupwv
 Content-Type: text/plain; charset=US-ASCII
 Content-Transfer-Encoding: 7bit
 
 Lately Josef El-Rayes told:
 
 > sed 's/^X//' >wmdrawer/pkg-plist << 'END-of-wmdrawer/pkg-plist'
 > Xbin/wmdrawer
 > Xshare/doc/wmdrawer/wmdrawerrc.example
 
 install into ${EXAMPLESDIR}?
 
 > Xman/man1/wmdrawer.1x.gz
 
 use MAN1=	wmdrawer.1x ?
 
 > sed 's/^X//' >wmdrawer/Makefile << 'END-of-wmdrawer/Makefile'
 
 add comments (see porter's handbook)?
 
 > XMASTER_SITES=	http://people.easter-eggs.org/~valos/wmdrawer/ \
 > X             http://www.daemon.li/downloads/ \
                                                 ^ ?
 > XDISTNAME=	${PORTNAME}-${PORTVERSION}
 
 is this needed?
 
 > XDISTFILES=	${DISTNAME}${EXTRACT_SUFX} daemon.xpm
 > XEXTRACT_ONLY=	${DISTNAME}${EXTRACT_SUFX}
 
 looking at
 <http://www.freebsd.org/doc/en_US.ISO8859-1/books/porters-handbook/makefile-distfiles.html#PORTS-MASTER-SITES-N-EXAMPLE-SIMPLE-USE-ONE-FILE-PER-SITE>;
 would give:
 
 MASTER_SITES=	http://people.easter-eggs.org/~valos/wmdrawer/:tarball \
 		http://www.daemon.li/downloads/:pixmap
 
 EXTRACT_ONLY=	${DISTNAME}${EXTRACT_SUFX}:tarball
 DISTFILES=	${EXTRACT_ONLY} daemon.xpm:pixmap
 
 untested. should work tho.
 
 [...]
 > Xpost-patch:
 > X	${REINPLACE_CMD} -e "s,PREFIX =,#PREFIX =," ${WRKSRC}/Makefile
 > X	${REINPLACE_CMD} -e "s,-O2,," ${WRKSRC}/Makefile
 
 obey ${CFLAGS}?
 
 > Xdo-install:
 > X	${INSTALL_PROGRAM} ${WRKSRC}/wmdrawer ${PREFIX}/bin
 > X	${INSTALL_MAN} ${WRKSRC}/doc/wmdrawer.1x.gz ${PREFIX}/man/man1
 
 ${MANPREFIX}?
 
 > Xpost-install:
 > X	${MKDIR} ${PREFIX}/share/pixmaps
 > X	${MKDIR} ${DOCSDIR}
 > X	${INSTALL_DATA} ${WRKSRC}/wmdrawerrc.example ${DOCSDIR}/wmdrawerrc.example
 
 use ${EXAMPLESDIR}?
 
 [...]
 > X	@${ECHO} ""
 > X	@${ECHO} "Sample configuration file has been copied to"
 > X	@${ECHO} "${DOCSDIR}/"
 > X	@${ECHO} "please copy it to your homedir as .wmdrawerrc"
 > X	@${ECHO} "and adjust it to your needs!"
 > X	@${ECHO} ""
 
 put this into pkg-message so that pkg_add people see that message too?
 
 cheers
   simon
 
 -- 
 /"\   http://corecode.ath.cx/#donate
 \ /
  \     ASCII Ribbon Campaign
 / \  Against HTML Mail and News
 
 --=.)BMXeCTesHupwv
 Content-Type: application/pgp-signature
 
 -----BEGIN PGP SIGNATURE-----
 Version: GnuPG v1.2.1 (FreeBSD)
 
 iD8DBQE+LqE9r5S+dk6z85oRAi35AKCSP8Xzif1foC/zIpl5q0TIJbC0HwCgncSw
 1wBCTf+d0SZZ0a+59bzbBwk=
 =N+r/
 -----END PGP SIGNATURE-----
 
 --=.)BMXeCTesHupwv--

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-ports-bugs" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200301221350.h0MDo3Pn018639>