- wmdate links against libdockapp. Make it a LIB_DEPENDS.

PR:	       ports/112358
Submitted by:  Harald Muehlboeck <home at clef.at>

- Use PLIST_FILES to axe small pkg-plist
- Use DOCSDIR, PORTDOCS macros
This commit is contained in:
Rong-En Fan 2007-06-21 07:18:34 +00:00
parent 9e5df96355
commit d2ea6f87e1
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=193989
2 changed files with 9 additions and 8 deletions

View File

@ -7,23 +7,27 @@
PORTNAME= wmdate
PORTVERSION= 0.7
PORTREVISION= 2
PORTREVISION= 3
CATEGORIES= x11-clocks windowmaker afterstep
MASTER_SITES= http://solfertje.student.utwente.nl/~dalroi/wmdate/files/
MAINTAINER= ports@FreeBSD.org
COMMENT= Date app for the WindowMaker dock
BUILD_DEPENDS= ${X11BASE}/include/dockapp.h:${PORTSDIR}/x11-wm/libdockapp
LIB_DEPENDS= dockapp.2:${PORTSDIR}/x11-wm/libdockapp
USE_IMAKE= yes
USE_XPM= yes
PLIST_FILES= bin/wmdate
PORTDOCS= README
post-install:
.if !defined(NOPORTDOCS)
@${MKDIR} ${PREFIX}/share/doc/wmdate
@${INSTALL_DATA} ${WRKSRC}/README ${PREFIX}/share/doc/wmdate
@${ECHO} "===> README installed in ${PREFIX}/share/doc/wmdate"
@${MKDIR} ${DOCSDIR}
@${INSTALL_DATA} ${WRKSRC}/README ${DOCSDIR}
@${ECHO_MSG} "===> README installed in ${DOCSDIR}"
.endif
.include <bsd.port.mk>

View File

@ -1,3 +0,0 @@
bin/wmdate
share/doc/wmdate/README
@dirrm share/doc/wmdate