1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-31 05:41:08 +00:00
freebsd-ports/x11-fm/workplace/Makefile
Ion-Mihai Tetcu b7371c6f3a - install docs in DOCSDIR and examples in EXAMPLESDIR and respect NO* vars
- fix plist with -DNOPORTDOCS
- bump PORTREVISION
Prompted by:	QAT QA run
2008-11-23 17:27:45 +00:00

47 lines
1.1 KiB
Makefile

# New ports collection makefile for: workplace
# Date created: 7 March 1998
# Whom: Andrey Zakhvatov
#
# $FreeBSD$
#
PORTNAME= workplace
PORTVERSION= 1.0.a3
PORTREVISION= 6
PORTEPOCH= 1
CATEGORIES= x11-fm
MASTER_SITES= ${MASTER_SITE_LOCAL}
MASTER_SITE_SUBDIR= trevor
PATCH_SITES= http://people.freebsd.org/~trevor/ports/
PATCHFILES= workplace-1.0.a3+tj1.diff.gz
MAINTAINER= ports@FreeBSD.org
COMMENT= File manager and launcher
GNU_CONFIGURE= yes
USE_GNOME= gtk12
CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include/glib12 \
-I${LOCALBASE}/include/gtk12" \
LIBS="-L${LOCALBASE}/lib"
pre-configure:
@ ${RM} ${WRKSRC}/config.cache
do-install:
@ ${INSTALL_PROGRAM} ${WRKSRC}/src/workplace ${PREFIX}/bin
@ ${MKDIR} ${PREFIX}/include/X11/pixmaps
@ ${INSTALL_DATA} ${WRKSRC}/icons/*.xpm ${PREFIX}/include/X11/pixmaps
.if !defined(NOPORTDOCS)
.for file in AUTHORS INSTALL README TODO
@ ${MKDIR} ${PREFIX}/share/doc/workplace
@ ${INSTALL_DATA} ${WRKSRC}/${file} ${DOCSDIR}
.endfor
.endif
.if !defined(NOPORTEXAMPLES)
@ ${MKDIR} ${EXAMPLESDIR}
@ ${INSTALL_DATA} ${WRKSRC}/example/* ${EXAMPLESDIR}
.endif
.include <bsd.port.mk>