2002-05-26 11:33:32 +00:00
|
|
|
# New ports collection makefile for: jewel
|
|
|
|
# Date created: 2002-05-26
|
|
|
|
# Whom: trevor
|
|
|
|
# based in part on the aewm++ port by ijliao
|
|
|
|
#
|
|
|
|
# $FreeBSD$
|
|
|
|
#
|
|
|
|
|
|
|
|
PORTNAME= jewel
|
2003-04-08 20:29:34 +00:00
|
|
|
PORTVERSION= 0.12.40
|
2004-02-04 05:10:27 +00:00
|
|
|
PORTREVISION= 1
|
2002-05-26 11:33:32 +00:00
|
|
|
CATEGORIES= x11-wm
|
2004-10-05 06:35:41 +00:00
|
|
|
MASTER_SITES= http://mjr.towers.org.uk/comp/
|
2002-05-26 11:33:32 +00:00
|
|
|
|
|
|
|
MAINTAINER= trevor@FreeBSD.org
|
2003-03-01 14:34:33 +00:00
|
|
|
COMMENT= Window manager based on aewm++
|
2002-05-26 11:33:32 +00:00
|
|
|
|
2003-04-08 20:29:34 +00:00
|
|
|
ALL_TARGET= jewel
|
2002-05-26 11:33:32 +00:00
|
|
|
DOCDIR= share/doc/${PORTNAME}
|
|
|
|
DOCS= Changelog Changelog.DLR Changelog.jewel INSTALL LICENSE README
|
2003-04-08 20:34:47 +00:00
|
|
|
MAN1= jewel.1x
|
2002-05-26 11:33:32 +00:00
|
|
|
PLIST= ${WRKDIR}/pkg-plist
|
|
|
|
USE_X_PREFIX= yes
|
|
|
|
USE_GMAKE= yes
|
|
|
|
|
|
|
|
post-patch:
|
2003-11-21 03:44:45 +00:00
|
|
|
@${MV} ${WRKSRC}/Makefile ${WRKSRC}/Makefile.orig
|
|
|
|
@${SED} -e "s,^CC,#CC,g ; s,^CFLAGS,#CFLAGS,g ; \
|
2002-05-26 11:33:32 +00:00
|
|
|
s,^prefix,#prefix,g ; s,prefix,PREFIX,g ; \
|
2003-11-21 03:44:45 +00:00
|
|
|
s,CC,CXX,g ; s,CFLAGS,CXXFLAGS,g" < ${WRKSRC}/Makefile.orig \
|
|
|
|
> ${WRKSRC}/Makefile
|
2002-05-26 11:33:32 +00:00
|
|
|
|
|
|
|
pre-install:
|
|
|
|
${ECHO_CMD} bin/jewel > ${PLIST}
|
|
|
|
.if !defined(NOPORTDOCS)
|
|
|
|
.for ii in ${DOCS}
|
|
|
|
${ECHO_CMD} ${DOCDIR}/${ii} >> ${PLIST}
|
|
|
|
.endfor
|
|
|
|
${ECHO_CMD} @dirrm ${DOCDIR} >> ${PLIST}
|
|
|
|
.endif
|
|
|
|
|
|
|
|
do-install:
|
2003-04-08 20:29:34 +00:00
|
|
|
${INSTALL_PROGRAM} ${WRKSRC}/jewel ${PREFIX}/bin/jewel
|
2003-04-08 20:34:47 +00:00
|
|
|
${INSTALL_MAN} ${WRKSRC}/jewel.1x ${PREFIX}/man/man1
|
2002-05-26 11:33:32 +00:00
|
|
|
.if !defined(NOPORTDOCS)
|
|
|
|
${MKDIR} ${PREFIX}/${DOCDIR}
|
|
|
|
.for ii in ${DOCS}
|
|
|
|
${INSTALL_DATA} ${WRKSRC}/${ii} ${PREFIX}/${DOCDIR}
|
|
|
|
.endfor
|
|
|
|
.endif
|
|
|
|
|
|
|
|
.include <bsd.port.mk>
|