1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-20 00:21:35 +00:00

- add USE_GCC=2.95 and unbreak this port

- use USE_XLIB=yes instead of CATEGORIES=x11, which is suggested by portlint
- replace pkg-plist with PLIST_FILES and PORTDOCS

PR:		71837
Submitted by:	leeym
Approved by:	maintainer timeout
This commit is contained in:
Yen-Ming Lee 2004-10-13 00:46:37 +00:00
parent dbc4115061
commit 98acd5f8a8
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=119124
2 changed files with 7 additions and 18 deletions

View File

@ -8,7 +8,7 @@
PORTNAME= menushki
PORTVERSION= 1.0
PORTREVISION= 1
CATEGORIES= misc x11
CATEGORIES= misc
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE}
MASTER_SITE_SUBDIR= ${PORTNAME}
@ -18,21 +18,16 @@ COMMENT= Menu converter between varieties of Window Managers
USE_X_PREFIX= yes
GNU_CONFIGURE= yes
USE_GMAKE= yes
USE_XLIB= yes
USE_GCC= 2.95
DOCS= AUTHORS ChangeLog README TODO
.include <bsd.port.pre.mk>
.if ${OSVERSION} >= 500113
BROKEN= "Does not compile (bad C++ code)"
.endif
PLIST_FILES= bin/menushki
PORTDOCS= AUTHORS ChangeLog README TODO
post-install:
.ifndef(NOPORTDOCS)
@${MKDIR} ${DOCSDIR}
.for files in ${DOCS}
@${INSTALL_DATA} ${WRKSRC}/${files} ${DOCSDIR}
.endfor
@cd ${WRKSRC} && ${INSTALL_DATA} ${PORTDOCS} ${DOCSDIR}
.endif
.include <bsd.port.post.mk>
.include <bsd.port.mk>

View File

@ -1,6 +0,0 @@
bin/menushki
%%PORTDOCS%%share/doc/menushki/AUTHORS
%%PORTDOCS%%share/doc/menushki/ChangeLog
%%PORTDOCS%%share/doc/menushki/README
%%PORTDOCS%%share/doc/menushki/TODO
%%PORTDOCS%%@dirrm share/doc/menushki