diff options
author | trevor <trevor@FreeBSD.org> | 2000-11-06 23:30:21 +0800 |
---|---|---|
committer | trevor <trevor@FreeBSD.org> | 2000-11-06 23:30:21 +0800 |
commit | 11f833acfd5608bc756f0e7cc83b5533db861c4b (patch) | |
tree | 6797cb3b7789220e226731b6ac7230efccb6faf8 | |
parent | eefb50af013759bfdc555fa4318b078b5d78a5f0 (diff) | |
download | freebsd-ports-gnome-11f833acfd5608bc756f0e7cc83b5533db861c4b.tar.gz freebsd-ports-gnome-11f833acfd5608bc756f0e7cc83b5533db861c4b.tar.zst freebsd-ports-gnome-11f833acfd5608bc756f0e7cc83b5533db861c4b.zip |
by Kato Tsuguru:
- don't use gmake
- use INSTALL_PROGRAM macro
- don't compress man page
by me:
- add do-build target
Submitted by: Kato Tsuguru <tkato@prontomail.ne.jp>
-rw-r--r-- | x11-wm/evilwm/Makefile | 10 |
1 files changed, 6 insertions, 4 deletions
diff --git a/x11-wm/evilwm/Makefile b/x11-wm/evilwm/Makefile index e9548e594316..3ec832441e57 100644 --- a/x11-wm/evilwm/Makefile +++ b/x11-wm/evilwm/Makefile @@ -19,9 +19,11 @@ DOCS= Changes.kja3 README MAN1= evilwm.1 .endif PLIST= ${WRKDIR}/pkg-plist -USE_GMAKE= yes USE_X_PREFIX= yes +do-build: + cd ${WRKSRC} && ${CC} ${CFLAGS} -I${X11BASE}/include -L${X11BASE}/lib -o evilwm *.c -lX11 + pre-install: ${ECHO} bin/evilwm > ${PLIST} .if !defined(NOPORTDOCS) @@ -31,14 +33,14 @@ pre-install: ${ECHO} @dirrm ${DOCDIR} >> ${PLIST} .endif -post-install: +do-install: + ${INSTALL_PROGRAM} ${WRKSRC}/evilwm ${PREFIX}/bin .if !defined(NOPORTDOCS) ${MKDIR} ${PREFIX}/${DOCDIR} for i in ${DOCS}; \ do ${INSTALL_DATA} ${WRKSRC}/$${i} ${PREFIX}/${DOCDIR}; \ done - ${GZIP_CMD} -c ${WRKSRC}/evilwm.man > ${WRKSRC}/evilwm.1.gz - ${INSTALL_MAN} ${WRKSRC}/evilwm.1.gz ${PREFIX}/man/man1 + ${INSTALL_MAN} ${WRKSRC}/evilwm.man ${PREFIX}/man/man1/evilwm.1 .endif .include <bsd.port.mk> |